If you want to delete ALL files in a directory then:
del /q /f C:\Path\to\some\dir\*
/q disables prompting when deleting all files.
/f forces deleting of read-only files.
--
Paul
|
Results 1 to 8 of 8
Thread: Backup scriptThreaded View
|
Click Here to Expand Forum to Full Width |