Variable Functions Listed by Category |
|
This list gives a one-line description of all built-in Variable Functions, and a cross reference which selects a separate help topic on that function where you will find the detailed syntax and description. You can also obtain help on any function with a HELP @functionname command at the prompt or by pressing Ctrl-F1 when the cursor is on the function name. See the HELP command for details
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
|
Note: many functions have functionality that covers several categories.
File association for the extension |
|
Specified line from clipboard |
|
Write string to the clipboard |
|
Identify console sessions |
|
Windows error description |
|
Open command string for the file type |
|
Returns 1 if a process is active; otherwise 0 |
|
Read characters from the screen |
|
Create registry subkey |
|
Delete a registry key and its subkeys |
|
Test if a registry key exists |
|
Read value from registry |
|
Write value to registry |
|
Write value to registry and broadcast change. |
|
Type of registry variable |
|
Title of first window with classname |
|
Executable name for window |
|
Current system information |
|
Windows memory information |
|
Windows system metrics |
|
Window position |
|
Current state of window |
|
Set/get windows system parameters |
Directories, drives and devices
CD-ROM drive: 1, otherwise 0 |
|
Current Working Directory of specified drive |
|
Current Working Directory of specified drive, with trailing backslash |
|
Character device: 1, otherwise 0 |
|
Free disk space |
|
Total disk space |
|
Used disk space |
|
Type of drive (hard drive, CD-ROM, etc.) |
|
Type of drive (hard drive, CD-ROM, etc.) |
|
File system type (FAT, NTFS, CDFS, etc.) |
|
Directory referenced by the junction |
|
Volume label |
|
Drive ready: 1, otherwise 0 |
|
Remote (network) drive: 1, otherwise 0 |
|
Removable drive: 1, otherwise 0 |
|
Serial number of a disk |
|
Windows folder locations |
|
Target of a symbolic link |
Compare two files |
|
File CRC |
|
Close a file handle |
|
Open a file handle |
|
Read next line from a file |
|
Read bytes from a file |
|
Move a file handle pointer |
|
Move a file handle pointer to a specified line |
|
Write next line to a file |
|
Write data to a file handle |
|
Return an entry from an .INI file |
|
Write an entry in an .INI file |
|
Inode value for a file |
|
Specified line from a file |
|
Count lines in a file |
|
Number of NTFS hard links for a file |
|
MD5 hash of a string or file |
|
SHA1 checksum for a file |
|
SHA2-256 checksum for a file |
|
SHA2-384 checksum for a file |
|
SHA2-512 checksum for a file |
|
NTFS SummaryInformation stream for a file |
|
Truncate file at current position |
|
Executable file version information |
Short name for the file. |
|
All names that match filename |
|
File extension |
|
File name and extension |
|
Full file name with path |
|
Long name for a short filename |
|
File name without path or extension |
|
File path without name |
|
Double quote a filename |
|
Short name for a long filename |
|
Path search |
|
True name of a file |
|
UNC name of a file |
|
Create file with unique name |
|
Remove double quotes from a filename |
|
Remove leading and trailing double quotes |
Test or return file attributes |
|
File description |
|
Application type |
|
File age (date and time) |
|
File date |
|
Number of files matching a wildcard |
|
Total size of files matching a wildcard |
|
File time |
|
Closes the search handle. |
|
Find first matching file |
|
Find next matching file |
|
Inode value for a file |
|
Number of NTFS hard links for a file |
|
File owner |
|
Path search |
|
NTFS SummaryInformation stream for a file |
|
True name for a file |
|
Create file with unique name |
|
Executable file version information |
|
Test or return file attributes |
List of ASCII-s for characters in string |
|
Capitalize first character of each word |
|
Character string, given a set of ASCII-s |
|
Counts occurrences of a character in a string |
|
Execute a command and return its first output line |
|
Extract a field from a string |
|
Count fields in a string |
|
Formats data string according to format string |
|
Offset of string2 within string1 |
|
Insert string1 into string2 |
|
Extract a substring |
|
Test for alphanumeric characters |
|
Test for alphabetic characters |
|
Test for ASCII characters |
|
Test for control characters |
|
Test for decimal digits |
|
Test for printable characters |
|
Test for punctuation characters |
|
Test for white space characters |
|
Test for hexadecimal digits |
|
Longest common sequence in two strings |
|
Left end of string |
|
Length of a string |
|
Convert string to lower case |
|
Trims specified leading characters. |
|
MD5 hash of a string or file |
|
Return a Regular Expression test |
|
Return the offset of a regular expression match |
|
Return the nth matching group of a regular expression test |
|
Repeat a character |
|
Replace string1 with string2 in text |
|
Reverse a string |
|
Right end of string |
|
Trims specified trailing characters. |
|
Test similarity between two strings |
|
Strips all characters in char from string |
|
Substitute a string within another string |
Older version of @INSTR to extract a substring |
|
Remove blanks from a string |
|
List of UNICODEs for characters in string |
|
Convert string to upper case |
|
Compares strings using wildcards |
|
Extract a word from a string |
|
Count words in a string |
Absolute value of n |
|
Average of a list |
|
Smallest integer not less than n |
|
Insert commas (thousands separators) into a numeric string |
|
Convert value from input base to output base |
|
Decrement a numeric value by 1 |
|
Decimal fraction portion of a number |
|
Tests if string is all digits |
|
Arithmetic calculations |
|
Format a numeric value |
|
Format a numeric value and insert thousands separators |
|
Largest integer not larger than n |
|
Increment a numeric value by 1 |
|
Integer part of a number |
|
Largest integer in the list |
|
Smallest integer in the list |
|
Test if a string is numeric |
|
Generate a random integer |
Converts an age into date and time |
|
Day of month for date |
|
Convert date to number of days |
|
Short name of day of week for date |
|
Full name of day of week |
|
Day of week as integer |
|
Day of year for date |
|
Short localized name of day of week for date |
|
Full localized name of day of week for date |
|
Convert date and time to age |
|
Convert number of days to date |
|
Convert number of seconds to time |
|
Month in specified date |
|
Convert time to number of seconds |
|
Year for date |
Prompt for a directory name. |
|
Prompt for a path and file name. |
|
Folder name from tree view. |
|
Menu selection |
OpenAFS cell name for a path |
|
OpenAFS mount point for a path |
|
Path is in OpenAFS: 1, otherwise 0 |
|
OpenAFS symbolic link for a path |
|
OpenAFS volume ID for a path |
|
OpenAFS volume name for a path |
|
Domain name of a computer |
|
Identify server names on a network |
|
Identify sharenames on a server |
|
User is member of group: 1, otherwise 0 |
|
The numeric IP for a host name |
|
The host name for a numeric IP |
|
Response time from a host |
|
Workgroup name of a computer |
Value of an alias |
|
Call a _cdecl function in a DLL |
|
Specified line from clipboard |
|
Write string to the clipboard |
|
RGB value of a color |
|
Write a string to the debugger |
|
Display directory stack entry |
|
Windows error description |
|
Execute a command, returns its exit code |
|
Execute a command, returns its first output line |
|
Definition of a function |
|
A line or word from the command history |
|
Value dependent on a conditional expression |
|
Current configuration option value |
|
Evaluate a Perl expression |
|
Read characters from the screen |
|
Evaluate a REXX expression |
|
Evaluate a Ruby expression |
|
Evaluate expression in active scripting engine |
|
Menu selection |
|
Save a window or the desktop to a BMP |
|
Get split time from timer. |
|
Call a Windows API function |
|
Query WMI |
|
Close an XML file previously opened by @XMLOPEN |
|
Return the number of nodes (children) for the specified path in an XML file |
|
Open an XML file for use by @XMLXPATH and/or @XMLNODES |
|
Return text of XML element |