//flex table opened by JP

Click to See Complete Forum and Search --> : Dos command for a new directory


cal
12-17-1999, 11:40 PM
Can some body give me the dos command to create a new directory in c: drive thanks

medo
12-18-1999, 12:22 AM
Hello

md

md install

dos name convection = 8+3

Good luck

OuTpaTienT
12-18-1999, 12:49 AM
If you're like me, you'll have a better chance of remembering this command if you know what it means (although it is pretty obvious).

MD = Make Directory

You can also use MKDIR. You can make a directory on other drives as well, just include the drive letter. Here's the format:

MKDIR [drive:]path
MD [drive:]path

And remember, if you make any directories that you don't want, you need to use DELTREE to delete a directory. Or there's RENAME to just change it's name.

--------usage-------------------------------
DELTREE [/Y] [drive:]path [[drive:]path[...]]

/Y Suppresses prompting to confirm you want to delete the subdirectory.
[drive:]path Specifies the name of the directory you want to delete.

Note: Use DELTREE cautiously. Every file and subdirectory within the specified directory will be deleted.

RENAME [drive:][path][directoryname1 | filename1] [directoryname2 | filename2]
REN [drive:][path][directoryname1 | filename1] [directoryname2 | filename2]

Note that you cannot specify a new drive or path for your destination.
--------------------------------------------


[This message has been edited by OuTpaTienT (edited 12-18-1999).]

richamies
12-18-1999, 10:18 AM
You can also remove directories using the RD (Remove Directory) command, but the directory needs to be empty for the command to work