In Windows NT 4.0, and Windows 2000, the following command will delete all subfolders and files in the current folder:
RD /S ""
Even though you receive The system cannot find the path specified, all files and folders are deleted.
NOTE: If you don't want the Are you sure? prompt:
@echo Y|RD /S ""
NOTE: Microsoft advises against the use of the NULL ("") folder.
0 comments
Hide comments