To delete the file, I wrote the following simple batch file that recursively deleted all .pdf files:
del /s /q "\\ad1pfrtg001\AppDev\ResultLogs\*.pdf" del /s /q "\\ad1pfrtg001\Project\AppData\*.pdf"
Even for a local directory, we can use it as:
del /s /q "C:\Project\*.pdf"
The same can be used to delete a directory where we just need to change del to rmdir .
khichar.anil Jul 23 '15 at 19:44 2015-07-23 19:44
source share