Difference between revisions of "Commands"

From DOSBoxWiki
Jump to navigationJump to search
m (→‎MOUNT: changed mount to mount & imgmount)
 
(15 intermediate revisions by 12 users not shown)
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,
+
== [[BOOT]] ==
 +
:Will start floppy images or hard disk images independent of the operating system emulation offered by DOSBox. This will allow you to play booter floppies or boot other operating systems inside DOSBox.  
  
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 (Change Directory) ==
 +
:Allows you to move up and down a directory tree'''CD''' is simple to use, just type
  
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,
+
  CD [Directory-Name]
  
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,
+
: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/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,
+
  C:\>'''CD SIERRA\KQ5'''
 +
  C:\SIERRA\KQ5>
  
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,
+
:There are also 3 special directories that are available inside every directory which help you simply move aroundThey are
  
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 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 directory directly above the current directory
  
== RD ==
+
/        which refers to the root directory
:Removes a 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
  
== TYPE ==
+
C:\SIERRA\KQ5>'''CD ..\..'''
:Display the contents of a text-file.
+
C:\>
  
== REN ==
+
:If you ever need to move back to the root directory you can use the '''\''' alias.
: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 ==
+
C:\SIERRA\KQ5>'''CD \'''
:Loads a program into upper memory (requires xms=true,umb=true)
+
C:\>
  
 
== CHOICE ==
 
== CHOICE ==
Line 33: Line 40:
  
 
  CHOICE "Text to ask"
 
  CHOICE "Text to ask"
 +
 +
== CLS ==
 +
:Clears the screen of all input and returns just the current prompt in the upper left hand corner.
 +
 +
== [[CONFIG]] ==
 +
:Change or query various DOSBox settings during runtime.
 +
 +
== COPY ==
 +
:Copy a file
 +
:Syntax is COPY <Orignal Filename> <New Filename>
 +
 +
COPY Document.txt CopyOfDocument.TXT
 +
 +
== DEL ==
 +
:Remove one or more files.
 +
 +
== 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)
 +
 +
== EXIT ==
 +
:Exit from DOSBox.
 +
 +
== [[IMGMOUNT]] ==
 +
:Mount CD-ROM and floppy disk images.
 +
 +
== [[IPX]] ==
 +
:Allows you to connect multiple instances of DOSBox using the IPX protocal.
 +
 +
== [[KEYB]] ==
 +
:Is used to change the layout of the keyboard used for different countries.
 +
 +
== LOADFIX ==
 +
:Loads a program above the first 64K of memory.
 +
 +
== LOADHIGH ==
 +
:Loads a program into upper memory (requires xms=true,umb=true)
 +
 +
== MD ==
 +
:Makes a directory.
 +
 +
== [[MEM]] ==
 +
:A program to display the amount of free memory.
 +
 +
== [[MIXER]] ==
 +
:Display current sound levels.
 +
 +
== [[MOUNT|MOUNT & IMGMOUNT]] ==
 +
: Mount folders and CD-ROM drives.
 +
 +
== MOVE (unsupported) ==
 +
:DOSBox has no MOVE command. Use the REN command to move files.
 +
 +
== RD ==
 +
:Removes a directory.
 +
 +
== 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.
 +
 +
== [[RESCAN]] ==
 +
: Refresh mounted drives. This has the same affect as pressing CTRL-F4.
 +
 +
== TYPE ==
 +
:Display the contents of a text-file.
 +
 +
== SET ==
 +
:Displays and sets environment variables
  
 
== VER ==
 
== VER ==

Latest revision as of 22:53, 5 July 2015

BOOT

Will start floppy images or hard disk images independent of the operating system emulation offered by DOSBox. This will allow you to play booter floppies or boot other operating systems inside DOSBox.

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:\>

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"

CLS

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

CONFIG

Change or query various DOSBox settings during runtime.

COPY

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

DEL

Remove one or more files.

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)

EXIT

Exit from DOSBox.

IMGMOUNT

Mount CD-ROM and floppy disk images.

IPX

Allows you to connect multiple instances of DOSBox using the IPX protocal.

KEYB

Is used to change the layout of the keyboard used for different countries.

LOADFIX

Loads a program above the first 64K of memory.

LOADHIGH

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

MD

Makes a directory.

MEM

A program to display the amount of free memory.

MIXER

Display current sound levels.

MOUNT & IMGMOUNT

Mount folders and CD-ROM drives.

MOVE (unsupported)

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

RD

Removes a directory.

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.

RESCAN

Refresh mounted drives. This has the same affect as pressing CTRL-F4.

TYPE

Display the contents of a text-file.

SET

Displays and sets environment variables

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)