answersLogoWhite

0


Best Answer

RMDIR /S

rmdir /?

Removes (deletes) a directory.

RMDIR [/S] [/Q] [drive:]path

RD [/S] [/Q] [drive:]path

/S Removes all directories and files in the specified directory

in addition to the directory itself. Used to remove a directory

tree.

/Q Quiet mode, do not ask if ok to remove a directory tree with /S

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which Windows command will delete a directory as well as all its files and subdirectories?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

DOS command to delete a directory?

1) When in DOS at the C:/, type RD (remove directory)2) hit Enter keyC:/C:/RDEnter


What is directory creation and deletion?

CreateDirectory(String) Creates all directories and subdirectories in the specified path. CreateDirectory(String, DirectorySecurity) Creates all the directories in the specified path, applying the specified Windows security. Delete(String) Deletes an empty directory from a specified path. Delete(String, Boolean) Deletes the specified directory and, if indicated, any subdirectories and files in the directory. public static DirectoryInfo CreateDirectory ( string path ) public static void Delete ( string path, bool recursive )


What command allows to delete a directory in Windows 7?

don't know sorry i was just bored :)


Which MS-DOS command is used to delete a directory and its sub directories in one pass?

To delete directory and sub directory in single command, use "deltree" command..


How delete commandcom from dos?

In DOS, you can delete files only by delete command. Use delete command as follows:C:\> delete For example: delete rajesh and then press enter..To remove a directory (Folder) use following command:C:\> RD For example: rd documents and then press enter..Note: Please make sure that directory is empty. You can only delete empty directory with rd command..


Which command is used to delete the directory that is empty?

erase


What is Windows Command Processor?

Command processor in windows is the command prompt(cmd). To start Windows command processor use winkey + R this will open Run window.Just type in cmd and this will open command prompt of windows where you can run various commands.You can create,delete files and folders, list the directory contents and can perform many other functions in command prompt.


Which two commands can you use to delete directories?

AFAIK there's only one command to delete a directory. "rmdir" Removes the directory. If you only want to delete the content of the directory you can use "del <dir name>"


Which Linux command will delete a directory as well as all its files and sub directories?

rm -rv /path/to/directory


What is the command is used to remove directory in Linux?

Assuming the directory is in your Home directory use: rmdir directory-name This will fail if there are files within the directory. In this case, use rm -r directory-name.


What is the command tool that can create delete view and modify objects in active directory?

Dsadd


Can command rmdir can be used to delete a directory that is not empty?

the commandrmdir will not remove a directory if it is not empty in UNIX. The correct way to remove a directory and all its contents recursively is with the rmcommand.