|
|
Description |
Delete Directory and sub directory |
Compatibility |
WINDOWS NT. |
TIP |
Deleting a folder and its contents in
Windows NT If you want to delete a folder, including all files and folders
within the folder, you can use the rd Command Prompt utility. (This
command is very similar to the DOS deltree command.)
To delete a folder and all of its contents, type the following: rd x:\folder /S Replace x:\folder with the drive letter and name of the folder you want to delete. If you don't want rd to verify that you really do want to delete the folder and everything below it, you can type the following command: rd x:\folder /S /Q Adding the /Q parameter runs rd in "quiet" mode--which means you won't be prompted to confirm the deletion of the folder and its contents. (So be careful!!)
|
SPECIAL NOTE :- This tip is tested thoroughly. Use this tip is your own risk. Visual Code is not responsible for any damage caused directly or indirectly. |