As the title suggests, I'm having issues with the del command in a batch file. When it gets to the delete step I get the message "Access is denied". My batch command looks something like this.
set destPath=\\Public01\Appl\CompOps\Jobs\
robocopy . "%destPath%" *.dtsx *.dev *.prod *.ppro /IS
pushd "%destPath%"
del *.dtsConfig
ren *.dev .
popd

I can browse to the directory and delete the files without any problem in windows explorer
Update 1: Tried running as administrator, still the same issue