New
#11
The file that downloads is not a link or shortcut, it's an identical file.
The file that downloads is not a link or shortcut, it's an identical file.
Ok, tell me this, I created a batch file. Here it is:
Forfiles -p "E:\Completed" -s -m *.* /C "cmd /c del @path"
I placed a txt, MP4, MP3, avi, mkv & mov file in the "E:/Completed" folder, initiated the batch file and it removed ALL files.
I then placed the same files in E:/Completed/TEST. Initiated the batch file, it deleted ALL files in "TEST" folder but left the "TEST" folder.
All I would like the batch file to do is to remove ALL folders and files.
************************FYI**********************
If anyone is looking to delete every single file and subfolder in a directory,
but not the directory itself, here is the batch file to do so.
FOR /D %%p IN ("E:\Completed\*.*") DO rmdir "%%p" /s /q
Your welcome :)