Internal Variables Listed by Name |
|
Substitutes the TCC escape character |
|
Last argument of the previous command |
|
Exit code, last external program |
|
TCC version |
|
Exit code, last internal command |
1 if an administrator, else 0 |
|
OpenAFS workstation cell |
|
Alt key depressed: 1, else 0 |
|
ANSI X3.64 status |
Line number in current batch file. |
|
Full path and filename of current batch file. |
|
Type of the current batch file |
|
Battery status |
|
Remaining battery life, seconds |
|
Remaining battery life, % |
|
Batch debugger active: 1, else 0 |
|
Background color at cursor position |
|
Boot drive letter, without a colon |
|
Build number |
List of the CD-ROM drives |
|
Process ID of most recent child process |
|
Current text cursor shape in insert mode |
|
Current command line |
|
Command processor name |
|
Full pathname of command processor |
|
Current text cursor shape in overstrike mode |
|
Current code page number |
|
Current cursor column |
|
Virtual screen width |
|
Process IDs attached to this console |
|
Current country code |
|
CPU type |
|
CPU time usage (percent) |
|
Ctrl key depressed: 1, else 0 |
|
Current drive and directory |
|
Current drive and directory with trailing \ |
|
Current directory |
|
Current directory with trailing \ |
Current date and time, yyyyMMddhhmmss |
|
Current day of the month |
|
Process ID of most recent detached process |
|
Current drive |
|
Name of the description file. |
|
Operating system type |
|
Operating system version |
|
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 |
|
List of the existing drives |
|
Daylight savings time: 1, else 0 |
|
List of the DVD drives |
0 if in overstrike mode, 1 if in insert mode |
|
Exit code, last external program |
|
@EXECSTR return code |
|
TCC exit return code |
|
SETDOS /X value |
List of the fixed drives |
|
Host name of local computer. |
|
Current hour |
|
Windows hardware profile if defined |
Current day of the week, local language, short |
|
Current day of the week, local language, full |
|
IFTP session active: 1, else 0 |
|
IFTPS session active: 1, else 0 |
|
Current month name, local language, short |
|
Current month name, local language, full |
|
Full pathname of the current INI file |
|
IP address(es) of local computer. |
|
Current date in ISO 9601 format |
Last valid drive |
|
Left Ctrl key depressed: 1, else 0 |
|
Current log file name |
|
Left Shift key depressed: 1, else 0 |
Number of monitors |
|
Current month of the year as integer |
|
Current month of the year, English, full |
TCC process ID (numeric) |
|
Current process is running in a pipe: 1, else 0 |
|
Process ID of parent process |
Right Ctrl key depressed: 1, else 0 |
|
List of accessible drives |
|
Registered user name |
|
Current cursor row |
|
Screen height |
|
Right Shift key depressed: 1, else 0 |
Current second |
|
Shell level |
|
Shell level (old style) |
|
Shift key depressed: 1, else 0 |
|
Pathname of shortcut that started this process |
|
SHRALIAS is loaded: 1, else 0 |
|
Startup directory of current shell. |
|
Process ID of most recent STARTed process. |
|
STDIN redirected: 0, else 1 |
|
STDOUT redirected: 0, else 1 |
|
STDERR redirected: 0, else 1 |
|
Name of time zone for standard time |
|
Offset in minutes from UTC for standard time |
|
Latest Windows error code |
Selected folder in Folders window |
|
Running inside Take Command: 1; else 0 |
|
Current time |
|
Current process is a transient shell: 1, else 0 |
|
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 |
Running inside VMWare: 1; else 0 |
|
Virtual screen horizontal size |
|
Virtual screen vertical size |
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 inside WOW64: 1; else 0 |