Difference between revisions of "Commands"

From DOSBoxWiki
Jump to navigationJump to search
m (Added command headings for each of the basic commands.)
Line 20: Line 20:
 
== COPY ==
 
== COPY ==
 
== DIR ==
 
== DIR ==
 +
:Lists all of the available files and sub directories inside the current directory.
 +
 
== DEL ==
 
== DEL ==
 
== EXIT ==
 
== EXIT ==

Revision as of 23:28, 18 December 2007

CD

Allows you to move up and down a directory tree. CD is simple to use, just type
CD [Directory-Name]

And if the Directory-Name correctly refers to an available directory then you will be moved from your current working directory to the new one. Once completed, any command you issue will operate under the new working directory, and your prompt will be updated to reflect your current working directory. Multiple folders can be traversed at once (assuming you know the correct names) by typing their names together with the \ separating them for example

C:\>CD SIERRA\KQ5
C:\SIERRA\KQ5>

There are also 2 special directories that are available inside every directory which help you simply move arround. they are

.

which refers to the current directory and

..

which refers to the directory directly above the current directory.

Once you have moved into a sub directory, you can move back by typing

C:\SIERRA\KQ5>CD ..
C:\SIERRA>

And like all other directories you can string them together

C:\SIERRA\KQ5>CD ..\..
C:\>

If you ever need to move back to the root directory you can use the \ alias.

C:\SIERRA\KQ5>CD \
C:\>

CLS

Clears the screen of all input and returns just the current prompt in the upper left hand corner.

COPY

DIR

Lists all of the available files and sub directories inside the current directory.

DEL

EXIT

MD

RD

TYPE

REN

LOADHIGH

CHOICE

VER