Internal Variables Listed by Category |
|
Operating system and software status
The list below gives a one-line description of all Internal Variables and a cross reference which selects a separate help topic on that variable. Many variables are simple enough that the one-line description is probably sufficient, but in most cases you should check for any additional information in the cross referenced explanation if you are not already familiar with a variable. You can also obtain help on any function with a HELP variablename command at the prompt. See the HELP command for details
AC line status |
|
Alt key depressed |
|
Battery status |
|
Remaining battery life, seconds |
|
Remaining battery life, % |
|
CapsLock on: 1, otherwise 0 |
|
CPU type |
|
CPU time usage (percent) |
|
Ctrl key depressed: 1, otherwise 0 |
|
A keyboard input character is waiting: 1, otherwise 0 |
|
left Alt key depressed: 1, otherwise 0 |
|
left Ctrl key depressed: 1, otherwise 0 |
|
left Shift key depressed: 1, otherwise 0 |
|
NumLock on:r 1, otherwise 0 |
|
right Alt key depressed: 1, otherwise 0 |
|
right Ctrl key depressed: 1, otherwise 0 |
|
right Shift key depressed: 1, otherwise 0 |
|
ScrollLock on: 1, otherwise 0 |
|
Shift key depressed: 1, otherwise 0 |
Operating system and software status
Last argument of previous command |
|
1 if administrator; else 0 |
|
ANSI X3.64 status |
|
Boot drive letter, without a colon |
|
Current code page number |
|
Current country code |
|
Operating system type |
|
Operating system version |
|
Host name of local computer. |
|
Windows hardware profile if defined |
|
Milliseconds since last user input |
|
IP address(es) of local computer. |
|
Windows build number |
|
Running inside Take Command: 1; else 0 |
|
Running inside VirtualPC: 1; else 0 |
|
Running inside VMWare: 1; else 0 |
|
Windows directory pathname |
|
Title of foreground window. |
|
Name of local computer |
|
Windows system directory pathname |
|
Milliseconds since Windows was started |
|
Current window title |
|
Name of current user. |
|
Windows version number |
|
Running in Windows 64: 1; else 0 |
TCC version |
|
Batch nesting level |
|
Line number in current batch file. |
|
Full path and filename of current batch file. |
|
Type of the current batch file |
|
Batch debugger active: 1, otherwise 0 |
|
Build number |
|
Process ID of most recent child process |
|
Current command line |
|
Command processor name |
|
Full pathname of command processor |
|
Process ID of most recent detached process |
|
Name of the description file. |
|
Echo status |
|
Insert mode: 1; else 0 |
|
TCC exit code |
|
Current expansion mode (SETDOS /X) |
|
Current history log file name |
|
IFTP session active: 1, otherwise 0 |
|
IFTPS session active: 1, otherwise 0 |
|
Full pathname of the current INI file |
|
Current log file name |
|
Name of the parent process |
|
The TCC process ID (numeric) |
|
Current process is running in a pipe: 1, otherwise 0 |
|
Process ID of parent process |
|
Registered user name |
|
Shell level |
|
Shell level (old style) |
|
Pathname of shortcut that started this process |
|
SHRALIAS is loaded: 1, otherwise 0 |
|
Startup directory of current shell. |
|
Process ID of most recent STARTed process. |
|
STDIN redirected: 0, otherwise 1 |
|
STDOUT redirected: 0, otherwise 1 |
|
STDERR redirected: 0, otherwise 1 |
|
Current filter in List view window |
|
Selected folder in Folders window |
|
Current process is a transient shell: 1, otherwise 0 |
|
TC uses unicode for redirected output: 1, otherwise 0 |
Background color at cursor position |
|
Current text cursor shape in insert mode |
|
Current text cursor shape in overstrike mode |
|
Current cursor column |
|
Virtual screen width |
|
Foreground color at cursor position |
|
Number of monitors |
|
Current cursor row |
|
Screen height |
|
Virtual screen horizontal size |
|
Virtual screen vertical size |
|
Physical screen horizontal size in pixels |
|
Physical screen vertical size in pixels |
OpenAFS workstation cell |
|
List of CD-ROM drives |
|
Current drive and directory |
|
Current drive and directory with trailing \ |
|
Current directory |
|
Current directory with trailing \ |
|
Current drive |
|
List of all available drives |
|
List of DVD drives |
|
List of hard (fixed) drives |
|
Last valid drive |
|
OpenAFS service installed: 1, otherwise 0 |
|
List of ready (accessible) drives |
Current date |
|
Current date and time, yyyyMMddhhmmss |
|
Current day of the month |
|
Current day of the week, English, short |
|
Current day of the week, English, full |
|
Current day of the week as an integer |
|
Current day of the year |
|
Daylight savings time: 1, else 0 |
|
Current hour |
|
Current day of the week, local language, short |
|
Current day of the week, local language, full |
|
Current month name, local language, short |
|
Current month name, local language, full |
|
Current date in ISO 9601 format |
|
Current minute |
|
Current month of the year as integer |
|
Current month of the year, English, full |
|
Current second |
|
Name of time zone for standard time |
|
Offset in minutes from UTC for standard time |
|
Current time |
|
Name of current time zone |
|
Offset in minutes from UTC for current time zone |
|
Current UTC time |
|
Current UTC date |
|
Current UTC date and time |
|
Current UTC hour |
|
Current UTC date in ISO format |
|
Current UTC minute |
|
Current UTC second |
|
Current year |
Exit code, last external program |
|
Exit code, last internal command |
|
Exit code, last external program |
|
Last @EXECSTR return code |
|
Last FTP error code |
|
Latest Windows error code |