|
Variables
|
|
|
Variable
|
Description
|
|
%ColX%
|
Column variable
Content of column number X on current row in the [Data] section. %col1%, %col2% etc. |
|
%DataFile%
|
Current file in the [DataFiles] section
|
|
%Date%
|
Current date
|
|
%HomeDir%
|
Account.HomeDir value
|
|
%LastErrorCode%
|
Last error code, useful after commands preceded with the "$i" (ignore error) switch or in the [OnError] section
Related topic: Error handling. |
|
%LastErrorMsg%
|
Last error message, useful after commands preceded with the "$i" (ignore error) switch or in the [OnError] section.
|
|
%LastErrorCommand%
|
Last command that caused an error useful after commands preceded with the "$i" (ignore error) switch or in the [OnError] section.
|
|
%LastMessageBox%
|
Result of last MessageBox command when "Ask" switch present
|
|
%LinuxUidNumber%
|
Contains automatically generated uidNumber from last "Lin.DS.Op.SetProperty uidNumber, Auto" command
|
|
%LocalName%
|
Name of the local machine
|
|
%RowNumber%
|
Current [Data] section line number in a Data.Loop..Endloop
|
|
%RowsTotal%
|
Total number of rows in [Data] section
|
|
%ScriptName%
|
Name of current script
|
|
%ServerName%
|
Current server (machine) name in [Machines] section. Notice that %ServerName% is undefined in the [Init] section.
|
|
%ServerName2%
|
Current server (machine) name in [Machines] section without the backslashes. Notice that %ServerName% is undefined in the [Init] section.
|
|
%StartDir%
|
AdmWin.exe directory
|
|
%Time%
|
Current time
|
|
%Version%
|
Current AdmWin version (as displayed on title bar)
|