answersLogoWhite

0


Best Answer

$ rm -rf *

NOTE:

I would strongly recommend that you verify your PWD is exactly where you want it to be before the executing the above command, otherwise, depression, dispair or sadness may follow.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

use the RMDIR to remove the subdirectory RD

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

dcpromo /forceremoval

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Rmdir

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the command to remove a subdirectory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What ms-DOS cmmand is used to create a subdirectory?

The command is "mkdir".


What command creates a subdirectory under a directory?

MD subdir


How are subdirectory names identified by DOS?

Try the TREE command at the DOS prompt


What Linux command is used to zip only a subdirectory?

In order to zip a subdirectory in Linux you would use the zip command with the recursive flag to specify that it should add all files under that directory into the zip file. The command would then be zip -r .zip .


What CLI command is used to create a subdirectory?

MD nameofdirectory. MD stands for Make Directory.


What is the name of a directory within the directory?

A subdirectory.


What command creates a sub directory under a directory?

Mkdir command creates a subdirectory under a directory (MD creates a directory) . The command Chdir changes the current Default directory(CD changes the current directory). The Rmdir removes the subdirectory(RD removes a directory).


Where can you find the subdirectory?

A subdirectory is under the root of a drive.


How do you make a subdirectory in ms-dos?

CD to where you want the subdirectory, then enter MKDIR <directoryname>


How do you create multiple directories in a directory in Linux?

mkdir directory1 directory2 directory3 directory4 directory5


What command is used to create a suddirectory and change the current directory and to remove a subdirectory?

If for example we wanted to make i subdirictory called foo in Linux or UNIX it you use mkdir foo to change into it you would use CD foo to remove the directory rmdir foo but this will only work if the directory is empty to remove the directory called foo when it is not empty use rm -rf foo but please be sure this is what you really want to do.


What is the difference between a directory and a subdirectory?

the prefix is different