|Purpose:||Modify or display TCC configuration|
|Formats:||Check for updates:|
OPTION //directive=value ...
|directive||Name of a directive to set, modify, or display.|
|value||A new value for that directive.|
|filename||A file containing directives to be immediately activated.|
See also: .INI file, SETDOS
The /U option will invoke the updater to check https://jpsoft.com for updates to Take Command / TCC.
If you follow the OPTION command with one or more sequences of a double slash mark //, each followed by a new directive=value, 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:
option //BatchEcho=No //InputColors=bri cya on bla
Option values may contain white space. However, you cannot enter an option value that contains the // string. If you do not specify a value, OPTION will reset the value for that directive to the default.
This feature is most useful for testing settings quickly, and in aliases or batch files that depend on certain options being in effect.
Changes made with // are temporary. They will not be saved in the .INI file.
The command OPTION @filename allows you to temporarily modify multiple directive settings. The file specified by filename must be in the same format as an .INI file. Changes made with @filename are temporary. They will not be saved in the .INI file.
Specifying an option name alone will display the value of that option; e.g.:
See also: the @OPTION function.