Change the directories in MS DOS

Asked By 10 points N/A Posted on -
qa-featured

Hi All,

Can any one guide me that how to change the directories in MS DOS and Window Command Line? ..

Thanks in advance

SHARE
Best Answer by Clork Chan
Best Answer
Best Answer
Answered By 0 points N/A #123771

Change the directories in MS DOS

qa-featured

To change directories while in MS-DOS, use the cd command. Below are some basic examples of how this command can be used to change directories.

How to get MS DOS prompt or Windows Command line?

Before changing directories, you need to know what directories are available in the current directory. To do this, use the MS-DOS dir command. For example, type the below command to only list directories in the current directory.

dir /ad

  • Once you know the directory is available, type a command similar to the below command. The below example changes into the windows directory.

cd windows

If you need to move into multiple directories with one command, you can use a command similar to the below example. In the below example, the command would move into the system directory, which is in the windows directory.

cd windowssystem

Finally, if you need to move back a directory, you can use the below command.

cd..

If you were in the Windows directory when you typed this command, it would move you back to the C: directory.

Answered By 0 points N/A #123772

Change the directories in MS DOS

qa-featured

To change directories while in windows command line (MS-DOS), use the cd command.

Answered By 0 points N/A #123775

Change the directories in MS DOS

qa-featured

cd  command  is used  to create  new  directory  from  "current" directory .

cdstands  for "change directory".

The command to change directory can be written as either:

cd directory

or

cd  drive:directory

The  directory  can start with a   or be relative to the current directory.

Example:

 If the current directory is C:dir then typing  cd newdir will change the current directory to C:dirnewdir  assuming that there is in fact a newdir sub-directory inside C:dir.

To remove Directory  we use the command  rd filename.

Example:

rd rem (rem is the directory name).

We can use  rd as an abbreviation for rmdir

Login/Register to Answer

Related Questions