home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
os2
/
4os216.zip
/
4OS2H.MSG
(
.txt
)
< prev
next >
Wrap
OS/2 Message File
|
1993-03-08
|
23KB
|
485 lines
MKMSGF
%H&i''(
*m,!.</
1u2H3
@0AlA
BrCQD
F$H$J
4os2h.msg
HDisplay the internal commands.
Usage: ?
HLoad or display the alias list, or define an alias.
Usage: ALIAS [/P] [/R [d:][path]filename...] [name[=][value]]
/P Pause after displaying each page
/R Load an alias list from a file
HChange the file or subdirectory attributes.
Usage: ATTRIB [/D /P /Q /S -|+[AHRS]] [d:][path]filename...
/D Modify subdirectory attributes
/P Pause after displaying each page
/Q Quiet mode
/S Modify files in subdirectories
+A Set archive attribute -A Clear archive attribute
+H Set hidden attribute -H Clear hidden attribute
+R Set read-only attribute -R Clear read-only attribute
+S Set system attribute -S Clear system attribute
HBeep the speaker.
Usage: BEEP [frequency [duration] ...]
The frequency is specified in Hertz, and the duration in 1/18th second
intervals. No sound will be generated for frequencies less than 37 Hz,
allowing you to insert short delays. The default value for frequency is
440 Hz; the default value for duration is 2.
HCall a secondary batch file.
Usage: CALL [d:][path]filename
HTerminate all batch processing.
Usage: CANCEL [value]
If you enter a value, CANCEL will set the ERRORLEVEL to that value.
HDisplay or change the current directory.
Usage: CD [[d:][pathname]
Entering CD with no argument or only a drive name will display the current
directory. Entering CD and a pathname will change the current directory.
HChange the current disk drive and directory.
Usage: CDD [d:]pathname
HDisplay or change the current system code page.
Usage: CHCP [n]
n New code page
Entering CHCP with no argument displays the active code page.
HDisplay or change the current directory.
Usage: CHDIR [[d:][pathname]
Entering CHDIR with no argument or only a drive name will display the current
directory. Entering CHDIR and a pathname will change the current directory.
HClear display, optionally to the specified colors.
Usage: CLS [[BRIght] [BLInk] fg ON bg [BORder fg]]
fg Foreground color
bg Background color
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HSet the screen display colors.
Usage: COLOR [[BRIght] [BLInk] fg ON bg [BORder fg]]
fg Foreground color
bg Background color
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HCopy or append one or more files.
Usage: COPY [d:][path]source[+]...[/A /B] [[d:][path]target]
[/A /B /C /F /M /N /P /Q /R /S /U /V]
/A Copy in ASCII mode
/B Copy in binary mode
/C Copy only those files where the target is older than the source
/F Fail if the source file has extended attributes and the target file
system doesn't support extended attributes.
/H Copy hidden and system files too
/M Copy only those files with the archive bit set
/N Don't actually perform the copy
/P Confirm each file copy (Y or N)
/Q Don't display filenames as they are copied
/R Prompt before overwriting an existing file
/S Copy subdirectories
/U Copy only those source files that are newer than a matching target
file, or where a matching target file doesn't exist
/V Verify disk writes
HDisplay and (optionally) change the system date.
Usage: DATE [mm-dd-yy]
mm Month (1 - 12)
dd Day (1 - 31)
yy Year (80 - 199 or 1980 - 2099)
If you don't enter a date, 4OS2 will display the current date and prompt for
a new one. The format for the date entry depends on the country code. U.S.
format is mm-dd-yy; European format is dd-mm-yy; Japanese is yy-mm-dd.
HErase the specified file(s) from the disk.
Usage: DEL [/F /N /P /Q /S /X /Y /Z] [d:][path]filename...
/F (4OS2/32 only) Don't make copies of the file(s) in the DELDIR
directory
/N Don't actually delete the file(s)
/P Confirm deletion for each file
/Q Quiet (no filename display)
/S Delete matching files in the subdirectories
/X Remove empty subdirectories after deleting (use with /S)
/Y The reverse of /P - it assumes a Y response to everything
/Z Delete all files, including read-only, hidden and system files
HPause for a specified period of time.
Usage: DELAY [n]
n The number of seconds to pause. The default value is 1 second.
HCreate, modify, or delete file and subdirectory descriptions.
Usage: DESCRIBE [d:][path]filename... ["description"]
You can enter a description on the command line by entering the filename
followed by the description enclosed in quotes. If you don't enter a
description, DESCRIBE will prompt you for one for each matching filename.
HStart an OS/2 program in detached mode.
Usage: DETACH [d:][filename[.ext]]
HDisplay information about files and subdirectories.
Usage: DIR [/1 /2 /4 /A[:-rhsda] /B /C /D /F /J /K /L /M /N /O:-deginrsu
/P /S /T /U /V /W /Z] [[d:][path]filename...]
/1 One column /M Suppress footers
/2 Two columns /N Display FAT volume in HPFS format
/4 Four columns /O Sort order
/A Select files by attributes /P Pause after each page
/B Display filenames only /S Display subdirectories
/C Upper case filenames /T Display attributes
/D Disable colorization /T:acw Date / time type
/F Display expanded filenames /U Summaries only
/J Justify filenames /V Sort filenames vertically
/K Suppress headers /W Wide display
/L Lower case filenames /Z Display HPFS volume in FAT format
HDisplay the directory stack used by PUSHD and POPD.
Usage: DIRS
HTells applications where to search for their files.
Usage: DPATH [[d:]path][[;[d:]path]...]]
DPATH ;
If you enter DPATH with no parameters, 4OS2 displays the current search
path. If you enter DPATH and a semicolon, 4OS2 clears the search path.
HDraw a box on the screen.
Usage: DRAWBOX ulrow ulcol lrrow lrcol style [BRIght][BLInk] fg ON bg
[FILL bgfill] [SHAdow]
ulrow Row for upper left corner
ulcol Column for upper left corner
lrrow Row for lower right corner
lrcol Column for lower right corner
style Box drawing style (0 - 4)
fg Foreground color
bg Background color
bgfill Background fill color (for the inside of the box)
SHADOW Include a drop shadow
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HDraw a horizontal line on the screen.
Usage: DRAWHLINE row column length style [BRIght] [BLInk] fg ON bg
row Start row
column Start column
length Length of line
style Line drawing style (1 or 2)
fg Foreground color
bg Background color
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HDraw a vertical line on the screen.
Usage: DRAWVLINE row column length style [BRIght] [BLInk] fg ON bg
row Start row
column Start column
length Length of line
style Line drawing style (1 or 2)
fg Foreground color
bg Background color
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HDisplay the echo status, enable or disable batch file or command line
echoing, or display a message.
Usage: ECHO [on | off | message]
ECHO defaults to ON in batch files and OFF during keyboard input.
If no arguments are entered, ECHO displays the current echo state.
HDisplay a message, without printing a trailing CR/LF.
Usage: ECHOS message
HRestore the disk drive, directory, and environment saved by SETLOCAL.
Usage: ENDLOCAL
HErase the specified file(s) from the disk.
Usage: ERASE [/N /P /Q /S /X /Y /Z] [d:][path]filename...
/N Don't actually delete the file(s)
/P Confirm deletion for each file
/Q Quiet (no filename display)
/S Delete matching files in the subdirectories
/X Remove empty subdirectories after deleting (use with /S)
/Y The reverse of /P - it assumes a Y response to everything
/Z Delete all files, including read-only, hidden and system files
HEdit environment variables and/or aliases.
Usage: ESET [/A] varname...
/A Assume the argument is an alias
ESET will search for environment variables first, and then aliases.
HPerform a command, except on the file(s) specified.
Usage: EXCEPT ([d:][path]filename...) command
HExit the current command processor.
Usage: EXIT [value]
If you specify a value, EXIT will return that value to the parent process.
If you EXIT from a primary command processor, you will be returned to PM.
HRepeat a command for several variables.
Usage: FOR [/A[:-rhsda]] %%var IN (set) [DO] command
/A Retrieve files with the specified attribute(s)
If a filename in (set) begins with an @, "var" will be set sequentially to
each line in the file.
HDisplay the total disk space, total bytes used, and total bytes free on the
specified (or default) drive(s).
Usage: FREE [d:] ...
HExecute a command in the current directory and its subdirectories.
Usage: GLOBAL [/H /I /P /Q] command
/H Process hidden subdirectories
/I Ignore exit codes
/P Prompt whether to execute the command in each directory
/Q Quiet (don't display directory names)
HCall a subroutine in a batch file.
Usage: GOSUB label
The label must begin with a colon (:), and appear by itself on the line.
GOSUB ignores case differences when matching labels.
HContinue batch file processing at the line following the label.
Usage: GOTO [/I] label
The label must begin with a colon (:), and appear by itself on the line.
GOTO ignores case differences when matching labels.
HDisplay the 4OS2 help file.
Usage: HELP [command]
HELP uses the PM VIEW.EXE program to display help for 4OS2 (4OS2.INF)
and OS/2 in general (CMDREF.INF).
HDisplay, read, or clear the history list.
Usage: HISTORY [/A command] [/F /P] [/R [d:][path]filename]
/A Add command to history list
/F Clear history list
/P Pause after displaying each page
/R Read history list from specified file
If no parameters are entered, HISTORY displays the current history list.
HAllow conditional execution of commands.
Usage: IF [NOT] condition [.AND. | .OR. | .XOR. [NOT] ...] command
The condition can be a string comparison (==, EQ, !=, NE, LT, LE, GE, or GT),
or one of the following:
ERRORLEVEL [condition] number
EXIST filename
ISALIAS aliasname
ISDIR [d:]path
ISINTERNAL command
ISLABEL labelname
HAllow IF/THEN/ELSE conditional execution of commands.
Usage: IFF [NOT] condition [.AND. | .OR. | .XOR. [NOT] ...]
THEN ^ ... ^ ELSE[[IFF] ... THEN] ^ ... ^ ENDIFF
The condition can be a string comparison (==, EQ, !=, NE, LT, LE, GE, or GT),
or one of the following:
ERRORLEVEL [condition] number
EXIST filename
ISALIAS aliasname
ISDIR [d:]path
ISINTERNAL command
ISLABEL labelname
HGet a single keystroke environment variable from standard input.
Usage: INKEY [/K"..." /Wn] [text] %%varname
/K Allowable keystrokes, enclosed in double quotes
/W Wait "n" seconds for a response
You can optionally display prompt text before the variable name.
HEnter an environment variable from the standard input.
Usage: INPUT [/Wn] [text] %%varname
/W Wait "n" seconds for a response
You can optionally display prompt text before the variable name.
HDisplay the history list, or enable/disable the command line editing keys.
Usage: KEYS [ON | OFF | LIST]
4OS2 includes this command for compatibility with CMD.EXE; for 4OS2 you
should normally use the HISTORY command instead.
ON Enable command history; read input characters
OFF Disable command history; read input lines
LIST Display the command history
HDisplay a file with forward and backward paging and scrolling.
Usage: LIST [/H /S /W] [d:][path]filename...
/H Strip high bit from each character
/S Read from standard input
/W Wrap text at right margin
HSwitch a batch file to or from .BTM mode.
Usage: LOADBTM [on | off]
LOADBTM switches a batch file (.CMD or .BTM) to and from .BTM mode.
If no argument is given, it displays the current LOADBTM status.
HEnable or disable command logging, change the log file name, or
add a comment to the log file.
Usage: LOG [/W [d:]pathname] [ON | OFF | "text"]
/W Specify new log filename and turn command logging on
Entering LOG with no parameters displays the log status. Entering LOG with
text writes the text to the log file, even if LOG is set OFF.
HCreate subdirectories.
Usage: MD [d:]pathname...
HDisplay the system RAM status.
Usage: MEMORY
MEMORY displays the free RAM, the size of the OS/2 swap file, the total and
free environment space, the total and free alias list space, and the total
command history space.
In 4OS2/32 only, MEMORY also displays the size of physical and resident RAM.
HCreate subdirectories.
Usage: MKDIR [d:]pathname...
HMove files to other directories and drives.
Usage: MOVE [d:][path]filename... [d:][path][filename]
[/C /D /H /N /P /Q /R /S /U]
/C Move only files where the source file is newer than the target
/D Target is a directory
/H Move all files, including hidden & system
/N Don't actually move the file(s)
/P Prompt to confirm each move
/Q Quiet (don't display filenames)
/R Prompt before overwriting an existing file(s)
/S Move entire subdirectory tree
/U Move only those files that either don't exist in the target
directory, or where the source file is newer than the target
Tells 4OS2 where to search for executable and batch files not in the
current directory.
Usage: PATH [[d:]path][[;[d:]path]...]]
PATH ;
If you enter PATH with no parameters, PATH displays the current search
path. If you enter PATH and a semicolon, PATH clears the search path and
will search only the current directory (this is the default at system
startup).
HSuspend alias or batch file execution while waiting for a keystroke.
Usage: PAUSE [message]
If you don't specify a message, PAUSE displays a default message .
HChange to the disk drive and directory at the top of the directory stack
(saved by PUSHD).
Usage: POPD [*]
The * option clears the directory stack, without changing the current drive
and directory.
HChange the command line prompt.
Usage: PROMPT [text]
If you enter PROMPT with no parameters, PROMPT sets the prompt on drives A
and B to $n$g, and on all other drives to $p$g. The prompt characters are:
$ The $ character P Current directory (upper case)
_ CR/LF p Current directory (lower case)
b The | character q The = character
c The open parenthesis ( r The current errorlevel
D Date (Fri Dec 25, 1992) s The space character
d Date (Fri 12-25-92) t Current time
e The ASCII ESC character v OS/2 version number
f The close parenthesis ) Xd: Current directory (upper case) for
g The > character drive d:
h Destructive backspace xd: Current directory (lower case) for
i OS/2 line 0 HELP prompt drive d:
l The < character z Shell level
n Current drive
HSave the current disk and directory.
Usage: PUSHD [[d:]pathname]
PUSHD saves the current directory on the directory stack, and if a pathname
is specified on the command line, changes the disk drive and directory.
HTerminate the current batch file.
Usage: QUIT [value]
If you specify a value, QUIT will set ERRORLEVEL to that value.
HRemove one or more directories.
Usage: RD [d:]path...
HReboot the system.
Usage: REBOOT [/V]
/V Prompt for verification before rebooting.
HPut a comment in a batch file.
Usage: REM [comment]
Everything following a REM will be ignored, including quote characters,
the redirection symbols (|><) and the command separator character.
HRename files or subdirectories.
Usage: REN [/N /P /Q] [d:][path]filename... [d:][path]filename
/N Don't actually rename the file(s)
/P Prompt for confirmation
/Q Quiet (don't display filenames)
HRename files or subdirectories.
Usage: RENAME [/N /P /Q] [d:][path]filename... [d:][path]filename
/N Don't actually rename the file(s)
/P Prompt for confirmation
/Q Quiet (don't display filenames)
HReturn from a GOSUB (subroutine) call in a batch file.
Usage: RETURN
The RETURN command returns from a GOSUB call to the command following the
original GOSUB.
HRemove one or more directories.
Usage: RMDIR [d:]path...
HPosition the cursor on the screen, and optionally display a message.
Usage: SCREEN row column [message]
HDisplay text in color.
Usage: SCRPUT row column [BRIght] [BLInk] fg ON bg text
row Start row
column Start column
fg Foreground character color
bg Background character color
text The text to display
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HExecute a command on the specified files.
Usage: SELECT [/A[:-rhsda] /C /D /O:-deginrsu /Z] command ([path]filename)
/A Select files by attributes
/C Display filenames in upper case
/D Disable directory colorization
/O Sort sequence
/Z Display HPFS volumes in FAT format
HDisplay, create, modify, or delete environment variables.
Usage: SET [/P] [/R [d:][path]filename...] [variable=[value]]
/P Pause after displaying each page
/R Read environment variables from a file
Entering SET with no variable or value displays the entire environment. If
you don't enter a value, SET displays the value of that variable.
Otherwise, the variable and value are placed in the environment. If the
variable already exists, its old contents are replaced by the new value.
HDisplay or set 4OS2 configuration variables.
Usage: SETDOS [/C? /E? /I+|-command /M? /N? /P? /R? /S?:? /U? /V?]
/C COMPOUND character
/E ESCAPE character
/I Disable or enable internal commands
/M Line editing mode
/N NOCLOBBER
/P Variable parameter character
/R Number of screen rows
/S Cursor shape
/U Filename case
/V Batch echo
HSave the current disk drive, directory, and environment.
Usage: SETLOCAL
HAllow the use of more than 10 variables in a batch file.
Usage: SHIFT [n]
SHIFT moves each batch file parameter "n" positions. The default value for
"n" is 1. You can reverse a SHIFT by giving a negative value for "n".
HStart a program in a new OS/2 session.
Usage: START [title] [/BG /C /DOS[=file] /FG /FS /I /ICON=name /INV /K /L
/MAX /MIN /N /PGM /PM /POS=x,y,x1,y1 /WAIT /WIN] [command ...]
title Title for title bar /K Keep session
/BG Start in background /L Local alias & history lists
/C Transient session /MAX Start maximized
/DOS DOS session; settings /MIN Start minimized
file in 4OS2/32 /N Start without using 4OS2
/FG Start in foreground /PGM Next argument is program name
/FS Full-screen session /PM PM application
/I Inherit environment /POS Start position (x,y) and window
from CONFIG.SYS size (x1, y1) in pels
/ICON Use specified icon /WAIT Wait for session to end
file /WIN Windowed session
/INV Invisible
HCopy standard input to standard output, and save a copy in the specified
file(s).
Usage: TEE [/A] [d:][path]filename...
/A Append output to the file(s)
HDisplay a block of text in a batch file.
Usage: TEXT
.
.
.
ENDTEXT
Both TEXT and ENDTEXT must be entered as the only command on that line.
HDisplay and (optionally) set the current system time.
Usage: TIME [hh:mm:ss[am|pm]]
hh Hour (0 - 23)
mm Minute (0 - 59)
ss Second (0 - 59)
If you don't enter any parameters, TIME will display the current system
time and prompt for a new time. TIME defaults to 24-hour format; you can
enter the time in 12-hour format by appending an "am" or "pm".
HTurn the system stopwatch on and off.
Usage: TIMER [/1 /2 /3 /S] [ON]
ON Restart timer
/1 Use timer #1
/2 Use timer #2
/3 Use timer #3
/S Display split time
HDisplay the contents of the specified file(s).
Usage: TYPE [/L /P] [d:][pathname]filename...
/L Print line numbers preceding each line of text
/P Pause after each page
HRemove aliases from the alias list.
Usage: UNALIAS [/Q] alias...
UNALIAS *
/Q Don't display an error message if the alias doesn't exist
UNALIAS also accepts the wildcard character * to delete all aliases.
HRemove variables from the environment.
Usage: UNSET [/Q] name...
UNSET *
/Q Don't display an error message if the variable doesn't exist
UNSET also accepts the wildcard character * to delete all variables.
HDisplay the current 4OS2 and OS/2 versions.
Usage: VER [/R]
/R Display OS/2 and 4OS2 revision levels
HDisplay, enable, or disable disk write verification.
Usage: VERIFY [on | off]
Entering VERIFY with no parameters will display the current VERIFY state.
HDisplay the disk volume label(s).
Usage: VOL [d:] ...
If you don't enter a drive name, VOL displays the disk label and the volume
serial number for the current drive.
HDisplay text in color in a vertical column.
Usage: VSCRPUT row column [BRIght] [BLInk] fg ON bg text
row Start row
column Start column
fg Foreground character color
bg Background character color
text The text to display
Valid colors are Black, Blue, Green, Red, Magenta, Cyan, Yellow, and White.
HSet the 4OS2 window title and state.
Usage: WINDOW ["title"] minimize | maximize | restore
"title" Change the window title.
minimize Minimize the 4OS2 window.
maximize Maximize the 4OS2 window.
restore Restore the 4OS2 window to its "normal" size.
HCopy standard input to standard output, and then copy the specified file(s)
to standard output.
Usage: Y [d:][path]filename...