[Toc][Index]

OPTION - Modify the command processor configuration

 
 Purpose:    Modify the command processor configuration 
             
 Format:     OPTION [//optname =value ...] 
             
             optname :  An INI file directive to set or modify. 
             value :  A new value for that directive. 
 
 See also:  CMD.INI. 
 Usage 
 OPTION displays a settings notebook which allows you to modify many of 
 the configuration options stored in the file CMD.INI. 
 When you exit from the notebook, you can select the Save button to save 
 your changes in CMD.INI for use in the current session and all future 
 sessions, select the OK button to use your changes in the current session 
 only, or select the Cancel button to discard the changes. 
 Save saves all changes since the last Save, or since the last time you 
 started the command processor.  If you run OPTION and exit with OK, any 
 changes will not be saved in CMD.INI at that time.  However, if you run 
 OPTION again and exit with Save, any earlier changes will automatically 
 be saved in the .INI file along with any new changes. 
 In most cases, changes you make in the Startup section of the OPTION 
 dialogs or notebook will only take effect when you restart your command 
 processor. 
 Other changes take effect as soon as you exit the dialogs or notebook 
 with Save or OK.  However, not all option changes will appear 
 immediately, even if they have taken effect.  For example, some color 
 changes will only appear after a CLS command. 
 OPTION handles most standard CMD.INI file settings.  More advanced 
 settings, including all those listed under Key Mapping Directives and 
 Advanced Directives cannot be modified with the OPTION dialogs or 
 notebook.  These settings must be inserted or modified in CMD.INI 
 manually. 
 OPTION does not preserve comments when saving modified settings in the 
 CMD.INI file.  To be sure .INI file comments are preserved, put them on 
 separate lines in the file.  See Modifying the .INI File additional 
 details. 
 OPTION runs the external program OPTION.EXE to display the notebook.  If 
 the command processor cannot find OPTION.EXE it will display an error 
 message.  OPTION.EXE must be run with the OPTION command, and will not 
 work if you invoke it directly. 
 Setting Individual Options 
 If you follow the OPTION command with one or more sequences of a double 
 slash mark [//] followed by an option=value setting, the OPTION notebook 
 will not appear.  Instead, the new settings will take effect immediately, 
 and will be in effect for the current session only.  This example turns 
 off batch file echo and changes the input colors to bright cyan on black 
 (enter this all on one line): 

 
         [c:\] option //BatchEcho = No //InputColors = bri cya on bla
 
 
 Option values may contain whitespace.  However, you cannot enter an 
 option value which contains the "//" string. 
 This feature is most useful for testing settings quickly, and in aliases 
 or batch files which depend on certain options being in effect. 
 Changes made with // are temporary.  They will not be saved in CMD.INI, 
 even if you subsequently load the option dialogs and select Save. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs