Posted by SpywareDr on November 02, 2010 at 05:37:05:
In Reply to: Erase files butleave folders in dos posted by William Lockie on November 01, 2010 at 18:18:10:
Try changing into your 'certain folder' and then running the command:
del /f /s /q *.*
Or, you could probably do it this way too:
del /f /s /q certain_drive_letter:\certain_folder\*.*