Note:
The private insert/overwrite flag is ignored unless the /PRIVATEINSERTMODE
option is on.
Note:
The private insert/overwrite flag is ignored unless the /PRIVATEINSERTMODE
option is on.
Note:
All options must precede any other arguments on the command line. The
first non-option word on the command line will cause option processing to
finish.
An instance of the 32-bit Command Interpreter is started with the TEXTCMD command.
The command interpreter first processes the contents of the
CMD_TEXTCMD_INIT environment variable,
if it has inherited one, as if it were a command tail, then it processes
all of the command tails that have been passed to it. This can be useful
for setting the /CURSOR, /WRAPHISTORY, /APPENDHISTORY, and /MATCHHISTORY
options globally for all instances of the command interpreter, and for
pre-populating the command line history with the
HISTORY command.
If non-option arguments are supplied, they are treated as a command line
to be executed. For compatibility with the 16-bit CMD supplied with IBM OS/2, if the first
non-whitespace character in the command line is a pair of quotation marks,
both it and the last quotation mark character on the line (if any) will be
removed before the command line is executed.
Once these commands have been executed, the command interpreter by default
enters interactive mode, unless the /C option has been specified.
The return code from the command interpreter is the return code from the
last command to be run. If the /C option is used, this will be the return
code from the command given in the arguments.
This is different from the 16-bit CMD supplied with IBM OS/2, which usually, but not always,
returns the code of the last relevant system error generated when running
(or trying to invoke) the command.
In interactive mode, the TEXTCMD command repeatedly prints a prompt to its
standard output and reads a line of text directly from the console.
(TEXTCMD does not read from its standard input.) Each line of text is
treated as a command line to be executed. To exit interactive mode, and
thereby terminate the command interpreter process, use the built-in
EXIT command.
See
TEXTCMD command line editing and recall
.
TEXTCMD
[/?]
[/Q/S]
[/C|/K]
[/MAXHIST lines]
[/MINHISTLEN characters]
[/NOSLASHDIR[+|-]]
[/CURSOR insert,overwrite]
[/WRAPHISTORY[+|-]]
[/APPENDHISTORY[+|-]]
[/MATCHHISTORY[+|-]]
[/PRIVATEINSERTMODE[+|-]]
[/STICKYINSERTMODE[+|-]]
[/INSERTMODE[+|-]]
[/ONETAIL[+|-]]
[/AUTOSTARTPM[+|-]]
[/AUTOSTARTVDM[+|-]]
[commands]
Options
/?/Q/S/C/K/CURSOR/ONETAIL/MAXHIST/MINHISTLEN/WRAPHISTORY/APPENDHISTORY/MATCHHISTORY/NOSLASHDIR/INSERTMODE/STICKYINSERTMODE/PRIVATEINSERTMODE/AUTOSTARTVDM/AUTOSTARTPMDescription
Interactive mode
Related commands
The 32-bit Command Interpreter is
© Copyright
Jonathan de Boyne Pollard.
"Moral" rights are asserted.