DOG Documentation


Command line Syntax

DOG [-P[[:]envsize]¦-E:envsz¦-C command line]

Parameters:



Commands

The internal commands are:

The external commands are:



BR

Syntax: BR [ON¦OFF]
Parameters: Effect: Toggles the DOS Break flag. In case no parameters are given it returns the Break Flag

Top

CC

NOT implemented yet

Syntax: CC [CodePage]
Parameters: Effect: Changes the current codepage to CodePage.
Top

CD

Syntax: CD [Path]
Parameters: Effect: Changes the current directory to Path.
Note: Directories are executable. This means that you do not have to write CD in order to change directory.
Top

CL

Syntax: CL
Effect: Clears the screen. Works on 50 lines/page screens too.
Top

CP

Syntax: CP src trg

Effect: Copies the source file to trg.
Note: This command is not ready yet.
Top


CT

Syntax: CT Device
Parameters: Effect: Changes the current IO terminal to Device.
Top

EH

Syntax: EH text
Parameters:

Effect: Print a (formatted) string to stdio (normally the screen). EH by itself wil put a new line.
Note: You can have many strings, they will be separated by one space regardless of what kind of whitespace you specify on the command line
Top


HH

Syntax: HH
Effect: Prints all DOG commands, and names.
Top

LS

Syntax: LS [arg_list] [search pattern]
Parameters: Effect: List files according to switches and search pattern.
Top

MD

Syntax: MD <dir>
Parameters: Effect: Creates a new directory as in COMMAND.COM.
Top

MV

Syntax: MV <old_name> <new_name>
Parameters: Effect: Renames (or moves) a fiile.
Top

RD

Syntax: RD <dir>
Parameters: Effect: Removes a directory as in COMMAND.COM.
Top

RM

Syntax: RM <list>
Parameters: Effect: Delete files as per the COMMAND.COM DEL/DELETE command.
Top

SE

Syntax: SE [env_var=[string]]
Parameters: Effect: Sets the specified env_var to string in the environment. Without arguments the command prints all env_vars to the screen.
Top

SZ

Syntax: SZ [-k¦-m] [path]
Parameters: Effect: Prints the size of the files in the current directory, or in path.

TP

Syntax: TP file_list
Parameters: Effect: Types the contents of the files in file_list to stdout.
Top

VF

Syntax: VF [ON¦OFF]
Parameters: Effect: If ON or OFF specified sets Verify flag to this value, else returns the current setting.
Top

VR

Syntax: VR
Effect: Prints the DOG and DOS version. Interprets OS/2 and IBM version correctly, also detects Window$ and FreeDOS and DOSEmu.
Top

XX

Syntax: XX
Effect: Exit the current DOG shell. Works only if the shell is not a primary shell.
Top