Command interpreter front ends
These commands are the command interpreter front ends themselves.
They present different user interfaces for the same underlying
command interpreter engine.
cmd
- a simple front end that reads from its standard input and writes to
its standard output, which is designed to have a low memory "footprint",
which is good for when one needs a non-interactive command interpreter (as
one does for background commands and command pipelines, for example).
pmcmd
- a front end that has a Presentation Manager user interface, with
on-line help in the usual PM style, and command line recall and editing
using ordinary PM controls.
textcmd
- a front end that has a text-mode user interface designed for interactive
work that provides such features as console-style command line recall and
editing.
Built-in commands:
The commands in this section are built in to the command interpreter
itself, either because they require access to the internal data structures
of the command interpreter (such as the alias list) or because they need
to modify properties of the command interpreter process (such as its
current code page). They cannot be replaced by other executable or
command script files.
?- Display the list of all built-in commands
alias- Set or display an alias
atdown- Run a command line at PM shutdownRun a command line at PM shutdown
beginlibpath- Set or display the LIBPATH prefix
call- Run a command
cancel- Stop all command scripts
cd- mdash; Change directory
cdd- Change drive and directory
chcp- Display or modify the current code page
clearenv- Unset all environment variables
dirstack- Display the directory stack
dpath- Set or display the DPATH environment variable
echo- Write a string or modify the echo status
endlibpath- Set or display the LIBPATH suffix
endlocal- Restore the saved copy of the environment variables
eset- Interactively set an environment variable
exit- Terminate this instance of the command processor
extproc- Pass a command script to an external interpreter
for- Run one command multiple times over a set of values
gosub- Call a subroutine in a command script
goto- Transfer control to a label in a command script
history- Manage the command-line recall
if- Conditionally execute a command
input- Input a value into an environment variable
libpath- Set or display the LIBPATH environment variable
libpathstrict- Set or display the strict library path setting
path- Set or display the PATH environment variable
popd- Restore the saved current drive and directory
prompt- Set the PROMPT environment variable
pushd- Save the current drive and directory and change to new ones
quit- Stop the current command script
return- Return from a subroutine in a command script
set- Set or display an environment variable
setenv- Set an environment variable
setlocal- Save a copy of the environment variables
shift- Shift the batch file parameters up or down
text- Write a block of text from the current script to standard output
timer- Start, stop, or display the split time of a timer
unalias- Unset an alias
unaliasall- Unset all aliases
unsetenv- Unset an environment variable
ver- Display the operating system and command interpreter versions
verify- Display or modify the verify flag
External commands
The external commands in this section are supplied as standard with the
32-bit Command Interpreter. They may be replaced by other executable or
command script files.
ansi- Control the recognition of ANSI CSI escape sequences
beep- Beep the PC speaker
brightbg- Beep the PC speaker
bunchup- Beep the PC speaker
cls- Clear the screen
colour- Change the screen output colour
copy- Copy files and directories
copystd- Copy files and directories
copyplus- Copy or concatenate files and directories
date- Display or set the date
del- Delete files
delay- Delay for a number of seconds
describe- Set file and directory descriptions
detach- Run a command detached from the console
dir- Display directory entries
echodot- Write a string
echos- Write a string without trailing CRLF
free- Display the amount of free space on a volume
helpmsg- Obtain on-line help
keylocks- Change the state of the keyboard locks
label- Label volumes
lines- Change the number of lines displayed on the console
md- Create directories
mkdir- Create directories
more- Display the contents of one or more files
morestd- Display the contents of one or more files
move- Move files and directories
pause- Suspend execution until ENTER is received on standard input
printenv- Display environment variables
rem- Do nothing
ren- Rename files and directories
rename- Rename files and directories
rd- Remove directories
rmdir- Remove directories
start- Start a new session
time- Display or set the time
truename- Display or set the true name of a file
type- Display the contents of one or more files
vol- Display the name and serial number of a volume
wpsarc- Control WPS desktop archiving
zdir- Display directory entries in the old style