Tech Tips / Windows NT / Disk and File Management

Delete EVERYTHING from the current directory

Here's a quick tip for clearing the entire contents of the current directory. To delete everything (including subfolders) in the current folder, issue the following command at the command prompt:

  RD /S ""

Although you'll get a "System cannot find the path specified" error, all of the files and folders from the directory will be deleted.

Contact Us | Authors | Subject Index | Directory | RSS Feeds

Copyright ©2006 Setup32.com