In XP:
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 e.g.
RD myfolder2
will delete myfolder2 if it is empty To delete the folder with contents use the /S option.
In XP:
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 e.g.
RD myfolder2
will delete myfolder2 if it is empty To delete the folder with contents use the /S option.
$ 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.
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 .
MD subdir
The command is "mkdir".
Try the TREE command at the DOS prompt
MD nameofdirectory. MD stands for Make Directory.
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.
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).
A subdirectory.
trim command
A subdirectory is under the root of a drive.
CD to where you want the subdirectory, then enter MKDIR <directoryname>