OS2_SHELL

From EDM2
Revision as of 14:37, 13 November 2017 by Ak120 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This variable sets up the command line shell for OS/2.

SET OS2_SHELL=C:\OS2\CMD.EXE
Note
OS/2 will not start without this variable
Parameters
  • /K C:\PROGRAM - Starts cmd.exe together with a program (program could be any executable program).
  • /S - Disables CTRL+C. No interrupt for programs possible.
  • /Q - NO ECHO
  • /C PROGRAM - Starts a second command processor with a program. After execution of the program (e.g. DIR A:) return to the first command processor.

TIP: If you wish to run some other command line shell, such as 4OS2, change this line and the SET COMSPEC=C:\OS2\CMD.EXE line, substituting the appropriate EXE file for CMD.EXE.

Value can be any command shell with a full path.