Difference between revisions of "Commands"

From DOSBoxWiki
Jump to navigationJump to search
Line 1: Line 1:
comment2, http://blogs.blackmarble.co.uk/members/One-Free-Ringtone.aspx One Free Ringtone,  wziik, http://blogs.blackmarble.co.uk/members/Nokia-Ringtone-Maker.aspx Nokia Ringtone Maker,  %-PP, http://blogs.blackmarble.co.uk/members/One-Missed-Call-Ringtone.aspx One Missed Call Ringtone,  906, http://blogs.blackmarble.co.uk/members/Pink-Sober-Ringtone.aspx Pink Sober Ringtone,  145, http://blogs.blackmarble.co.uk/members/Nokia-Ringtone-Download.aspx Nokia Ringtone Download,  njxl, http://blogs.blackmarble.co.uk/members/Our-Man-Flint-Ringtone.aspx Our Man Flint Ringtone,  mhljn, http://blogs.blackmarble.co.uk/members/Office-Theme-Song-Ringtone.aspx Office Theme Song Ringtone,  :]], http://blogs.blackmarble.co.uk/members/Nagging-Phone-Ringtone.aspx Nagging Phone Ringtone,  fmeel, http://blogs.blackmarble.co.uk/members/Mp3-To-Ringtone.aspx Mp3 To Ringtone,  :OO, http://blogs.blackmarble.co.uk/members/Old-Phone-Ringtone.aspx Old Phone Ringtone, 056,
+
== CD (Change Directory) ==
 +
:Allows you to move up and down a directory tree'''CD''' is simple to use, just type
  
comment3, http://blogs.blackmarble.co.uk/members/Ringtone-Downloads.aspx Ringtone Downloads,  9766, http://blogs.blackmarble.co.uk/members/Ringtone-Composer.aspx Ringtone Composer,  444239, http://blogs.blackmarble.co.uk/members/Ringtone-Editor.aspx Ringtone Editor,  06857, http://blogs.blackmarble.co.uk/members/Ringtone-Freeware.aspx Ringtone Freeware,  480124, http://blogs.blackmarble.co.uk/members/Redneck-Ringtone.aspx Redneck Ringtone,  rrmqu, http://blogs.blackmarble.co.uk/members/Ringtone-Format.aspx Ringtone Format,  =-PP, http://blogs.blackmarble.co.uk/members/Ringtone-Creator-Free.aspx Ringtone Creator Free, :O, http://blogs.blackmarble.co.uk/members/Polyphonic-Ringtone.aspx Polyphonic Ringtone,  =))), http://blogs.blackmarble.co.uk/members/Polyphonic-Ringtone-Converter.aspx Polyphonic Ringtone Converter,  =-D, http://blogs.blackmarble.co.uk/members/Ringtone-Download.aspx Ringtone Download,  tebkz,
+
  CD [Directory-Name]
  
comment4, http://blogs.blackmarble.co.uk/members/Ringtone-Software.aspx Ringtone Software,  %P, http://blogs.blackmarble.co.uk/members/Ringtone-Program.aspx Ringtone Program,  nludn, http://blogs.blackmarble.co.uk/members/Ringtone-Verizon.aspx Ringtone Verizon, %]], http://blogs.blackmarble.co.uk/members/Scotty-Doesn-Know-Ringtone.aspx Scotty Doesn Know Ringtone, >:PPP, http://blogs.blackmarble.co.uk/members/Ringtone-Maker.aspx Ringtone Maker, 974, http://blogs.blackmarble.co.uk/members/Rooster-Ringtone.aspx Rooster Ringtone,  638834, http://blogs.blackmarble.co.uk/members/Ringtone-Ripper.aspx Ringtone Ripper,  577218, http://blogs.blackmarble.co.uk/members/Ringtone-Jukebox.aspx Ringtone Jukebox,  722, http://blogs.blackmarble.co.uk/members/Ringtone-From-Bedtime-Stories.aspx Ringtone From Bedtime Stories,  4907, http://blogs.blackmarble.co.uk/members/Ringtone-Samples-Listen.aspx Ringtone Samples Listen,  132,
+
And if the Directory-Name correctly refers to an available directory then you will be moved from your current working directory to the new oneOnce completed, any command you issue will operate under the new working directory, and your prompt will be updated to reflect your current working directoryMultiple folders can be traversed at once (assuming you know the correct names) by typing their names together with the '''\''' separating them for example
  
comment4, http://blogs.blackmarble.co.uk/members/Smack-That-Ringtone.aspx Smack That Ringtone,  >:]], http://blogs.blackmarble.co.uk/members/Shut-Up-Ringtone.aspx Shut Up Ringtone,  642, http://blogs.blackmarble.co.uk/members/Sony-Ericsson-Ringtone-Program-Maker.aspx Sony Ericsson Ringtone Program Maker, 5778, http://blogs.blackmarble.co.uk/members/Shiridi-Sai-Baba-Ringtone.aspx Shiridi Sai Baba Ringtone,  >:-PP, http://blogs.blackmarble.co.uk/members/Silent-Ringtone.aspx Silent Ringtone,  mynnax, http://blogs.blackmarble.co.uk/members/Sex-And-The-City-Ringtone.aspx Sex And The City Ringtone,  gcrof, http://blogs.blackmarble.co.uk/members/Secession-Magician-Ringtone.aspx Secession Magician Ringtone,  zho, http://blogs.blackmarble.co.uk/members/Siren-Ringtone.aspx Siren Ringtone,  gabcx,
+
C:\>'''CD SIERRA\KQ5'''
 +
  C:\SIERRA\KQ5>
  
comment4, http://blogs.blackmarble.co.uk/members/One-Free-Ringtone.aspx One Free Ringtone,  3571, http://blogs.blackmarble.co.uk/members/Nokia-Ringtone-Maker.aspx Nokia Ringtone Maker,  22742, http://blogs.blackmarble.co.uk/members/One-Missed-Call-Ringtone.aspx One Missed Call Ringtone,  bhcu, http://blogs.blackmarble.co.uk/members/Pink-Sober-Ringtone.aspx Pink Sober Ringtone,  >:-O, http://blogs.blackmarble.co.uk/members/Nokia-Ringtone-Download.aspx Nokia Ringtone Download,  yjf, http://blogs.blackmarble.co.uk/members/Our-Man-Flint-Ringtone.aspx Our Man Flint Ringtone,  96068, http://blogs.blackmarble.co.uk/members/Nagging-Phone-Ringtone.aspx Nagging Phone Ringtone,  6858, http://blogs.blackmarble.co.uk/members/Office-Theme-Song-Ringtone.aspx Office Theme Song Ringtone,  zxp, http://blogs.blackmarble.co.uk/members/Mp3-To-Ringtone.aspx Mp3 To Ringtone,  8PP, http://blogs.blackmarble.co.uk/members/Old-Phone-Ringtone.aspx Old Phone Ringtone, ojnb,
+
There are also 3 special directories that are available inside every directory which help you simply move aroundThey are
  
comment6, http://blogs.blackmarble.co.uk/members/Ringtone-Software.aspx Ringtone Software,  zknm, http://blogs.blackmarble.co.uk/members/Ringtone-Program.aspx Ringtone Program,  42193, http://blogs.blackmarble.co.uk/members/Ringtone-Verizon.aspx Ringtone Verizon,  =-(((, http://blogs.blackmarble.co.uk/members/Scotty-Doesn-Know-Ringtone.aspx Scotty Doesn Know Ringtone,  472964, http://blogs.blackmarble.co.uk/members/Ringtone-Maker.aspx Ringtone Maker,  538, http://blogs.blackmarble.co.uk/members/Rooster-Ringtone.aspx Rooster Ringtone,  :PP, http://blogs.blackmarble.co.uk/members/Ringtone-Jukebox.aspx Ringtone Jukebox,  14075, http://blogs.blackmarble.co.uk/members/Ringtone-Ripper.aspx Ringtone Ripper,  =], http://blogs.blackmarble.co.uk/members/Ringtone-From-Bedtime-Stories.aspx Ringtone From Bedtime Stories, lgpftq, http://blogs.blackmarble.co.uk/members/Ringtone-Samples-Listen.aspx Ringtone Samples Listen,  543,
+
  .       which refers to the current directory
  
comment5, http://blogs.blackmarble.co.uk/members/Smack-That-Ringtone.aspx Smack That Ringtone,  0872, http://blogs.blackmarble.co.uk/members/Shut-Up-Ringtone.aspx Shut Up Ringtone, 7931, http://blogs.blackmarble.co.uk/members/Sony-Ericsson-Ringtone-Program-Maker.aspx Sony Ericsson Ringtone Program Maker,  >:DD, http://blogs.blackmarble.co.uk/members/Shiridi-Sai-Baba-Ringtone.aspx Shiridi Sai Baba Ringtone,  =-OOO, http://blogs.blackmarble.co.uk/members/Silent-Ringtone.aspx Silent Ringtone,  8374, http://blogs.blackmarble.co.uk/members/Sex-And-The-City-Ringtone.aspx Sex And The City Ringtone,  rdpho, http://blogs.blackmarble.co.uk/members/Secession-Magician-Ringtone.aspx Secession Magician Ringtone,  59007, http://blogs.blackmarble.co.uk/members/Siren-Ringtone.aspx Siren Ringtone,  tyy,
+
  ..       which refers to the directory directly above the current directory
  
comment4, http://blogs.blackmarble.co.uk/members/One-Free-Ringtone.aspx One Free Ringtone,  %-]]], http://blogs.blackmarble.co.uk/members/Nokia-Ringtone-Maker.aspx Nokia Ringtone Maker,  =-(((, http://blogs.blackmarble.co.uk/members/One-Missed-Call-Ringtone.aspx One Missed Call Ringtone,  637098, http://blogs.blackmarble.co.uk/members/Pink-Sober-Ringtone.aspx Pink Sober Ringtone,  aejmmf, http://blogs.blackmarble.co.uk/members/Nokia-Ringtone-Download.aspx Nokia Ringtone Download,  gxvvua, http://blogs.blackmarble.co.uk/members/Our-Man-Flint-Ringtone.aspx Our Man Flint Ringtone,  nmzvy, http://blogs.blackmarble.co.uk/members/Nagging-Phone-Ringtone.aspx Nagging Phone Ringtone,  ksrbo, http://blogs.blackmarble.co.uk/members/Office-Theme-Song-Ringtone.aspx Office Theme Song Ringtone,  arck, http://blogs.blackmarble.co.uk/members/Mp3-To-Ringtone.aspx Mp3 To Ringtone, 32993, http://blogs.blackmarble.co.uk/members/Old-Phone-Ringtone.aspx Old Phone Ringtone,  :DD,
+
  /       which refers to the root directory
  
comment2, http://blogs.blackmarble.co.uk/members/Ringtone-Software.aspx Ringtone Software,  awaoiw, http://blogs.blackmarble.co.uk/members/Ringtone-Program.aspx Ringtone Program,  9111, http://blogs.blackmarble.co.uk/members/Ringtone-Verizon.aspx Ringtone Verizon,  71660, http://blogs.blackmarble.co.uk/members/Scotty-Doesn-Know-Ringtone.aspx Scotty Doesn Know Ringtone,  =[, http://blogs.blackmarble.co.uk/members/Ringtone-Maker.aspx Ringtone Maker,  847100, http://blogs.blackmarble.co.uk/members/Rooster-Ringtone.aspx Rooster Ringtone,  yrgtx, http://blogs.blackmarble.co.uk/members/Ringtone-Jukebox.aspx Ringtone Jukebox,  :[[[, http://blogs.blackmarble.co.uk/members/Ringtone-Ripper.aspx Ringtone Ripper,  qqcca, http://blogs.blackmarble.co.uk/members/Ringtone-From-Bedtime-Stories.aspx Ringtone From Bedtime Stories,  8-OOO, http://blogs.blackmarble.co.uk/members/Ringtone-Samples-Listen.aspx Ringtone Samples Listen,  fnae,
+
Once you have moved into a sub directory, you can move back by typing
  
comment1, http://blogs.blackmarble.co.uk/members/Smack-That-Ringtone.aspx Smack That Ringtone, ejq, http://blogs.blackmarble.co.uk/members/Shut-Up-Ringtone.aspx Shut Up Ringtone, %-P, http://blogs.blackmarble.co.uk/members/Sony-Ericsson-Ringtone-Program-Maker.aspx Sony Ericsson Ringtone Program Maker, wxrh, http://blogs.blackmarble.co.uk/members/Shiridi-Sai-Baba-Ringtone.aspx Shiridi Sai Baba Ringtone, xqypqv, http://blogs.blackmarble.co.uk/members/Silent-Ringtone.aspx Silent Ringtone, 01812, http://blogs.blackmarble.co.uk/members/Sex-And-The-City-Ringtone.aspx Sex And The City Ringtone, 8-]]], http://blogs.blackmarble.co.uk/members/Secession-Magician-Ringtone.aspx Secession Magician Ringtone,  orozog, http://blogs.blackmarble.co.uk/members/Siren-Ringtone.aspx Siren Ringtone,  wtrjq,
+
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 ==
 +
:Copy a file
 +
:Syntax is COPY <Orignal Filename> <New Filename>
 +
 
 +
COPY Document.txt CopyOfDocument.TXT
 +
 
 +
== DIR ==
 +
:Lists all of the available files and sub directories inside the current directory. Some variants of this are, "dir/p" (pauses after each page) and "dir/w" (this gives a wide view)
 +
 
 +
== DEL ==
 +
:Remove one or more files.
 +
 
 +
== EXIT ==
 +
:Exit from DOSBox
 +
 
 +
== MD ==
 +
:Makes a directory.
 +
 
 +
== MOVE (unsupported) ==
 +
:DOSBox has no MOVE command. Use the REN command to move files.
 +
 
 +
== RD ==
 +
:Removes a directory.
 +
 
 +
== TYPE ==
 +
:Display the contents of a text-file.
  
 
== REN ==
 
== REN ==

Revision as of 19:10, 24 June 2009

CD (Change Directory)

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 3 special directories that are available inside every directory which help you simply move around. They are

.        which refers to the current directory 
..       which refers to the directory directly above the current directory
/        which refers to the root 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

Copy a file
Syntax is COPY <Orignal Filename> <New Filename>
COPY Document.txt CopyOfDocument.TXT

DIR

Lists all of the available files and sub directories inside the current directory. Some variants of this are, "dir/p" (pauses after each page) and "dir/w" (this gives a wide view)

DEL

Remove one or more files.

EXIT

Exit from DOSBox

MD

Makes a directory.

MOVE (unsupported)

DOSBox has no MOVE command. Use the REN command to move files.

RD

Removes a directory.

TYPE

Display the contents of a text-file.

REN

Renames one or more files.
Note: Unlike MS DOS, DOSBox doesn't require the source and target filenames to be in the same folder.

LOADHIGH

Loads a program into upper memory (requires xms=true,umb=true)

CHOICE

Waits for a keypress and sets ERRORLEVEL. Displays the given prompt followed by [Y,N]? for yes or no respones.
Used for batch scripts in most cases.
CHOICE "Text to ask"

VER

View and set the reported DOS version. Also displays the running DOSBox version.
To set the reported DOS version use the following:
VER SET <MAJOR> [MINOR]
where MAJOR is the number before the period, and MINOR is what comes after.
Versions can range from 0.0 to 255.255. Any values over 255 will loop from zero. (That is, 256=0, 257=1, 258=2, etc)