Commands

From DOSBoxWiki
Revision as of 09:46, 24 June 2009 by 89.207.208.15 (Talk)

Jump to: navigation, search

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,

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)