full_delete=E:\Oracle\Middleware\user_projects\domains\Skandia\servers\AdminService\
expection_folder=E:\Oracle\Middleware\user_projects\domains\Skandia\servers\Extranet-server\
I've to delete all the filea subfolders and folders that are available in the %full_delete%
I used the code
Code: Select all
pushd "%pathtofolder%" && (rd /s /q "%pathtofolder%" 2>nul & popd)