Take Command / TCC Help v. 13.03

Variable Functions Listed by Name

 A B C D E F G H I L M N O P Q R S T U V W Y

Hide Navigation Pane

Variable Functions Listed by Name

 A B C D E F G H I L M N O P Q R S T U V W Y

Previous topic Next topic No directory for this topic No expanding text in this topic  

Variable Functions Listed by Name

 A B C D E F G H I L M N O P Q R S T U V W Y

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

See also Functions by Category.

 

@ABS

Absolute value of number

@AFSCELL

OpenAFS cell name

@AFSMOUNT

OpenAFS mount point

@AFSPATH

Path in OpenAFS: 1, otherwise 0

@AFSSYMLINK

OpenAFS symbolic link

@AFSVOLID

OpenAFS volume ID

@AFSVOLNAME

OpenAFS volume name

@AGEDATE

Converts an age into date and time

@ALIAS

Value of an alias

@ALTNAME

Short name for the file

@ASCII

Set of ASCII-s for characters in string

@ARRAYINFO

Array variable information

@ASSOC

File association

@ATTRIB

Test or return file attributes

@AVERAGE

Average of a list of numbers

 

@B64DECODE

Decode Base64 file or string

@B64ENCODE

Encode file or string as Base64

@BALLOC

Allocate a binary buffer

@BFREE

Free a binary buffer

@BPEEK

Read a value from a binary buffer

@BPEEKSTR

Read a string from a binary buffer

@BPOKE

Write a value to a binary buffer

@BPOKESTR

Write a string to a binary buffer

@BREAD

Read from a file to a binary buffer

@BWRITE

Write from a binary buffer to a file

 

@CAPI

Call a _cdecl function in a DLL

@CAPS

Capitalize first character of each word

@CDROM

CD-ROM drive: 1, otherwise 0

@CEILING

Smallest integer not less than a number

@CHAR

Character string, given a set of ASCII-s

@CLIP

Specified line from clipboard

@CLIPW

Write string to the clipboard

@COLOR

RGB value of a color

@COMMA

Insert commas into a number (thousands separators)

@COMPARE

Two files are identical: 1, otherwise 0

@CONSOLE

Identify console sessions

@CONSOLEB

Create or restore a console screen buffer

@CONVERT

Convert value from input base to output base

@COUNT

Number of times a character appears in a string

@CRC32

File CRC

@CWD

Current Working Directory of specified drive

@CWDS

Current Working Directory of specified drive, with trailing backslash

 

@DATE

Convert date to number of days

@DATECONV

Convert date to another format

@DAY

Day of month for date

@DEBUG

Write a string to the debugger

@DEC

Decrement a numeric value by 1

@DECIMAL

Decimal portion of a number

@DESCRIPT

File description

@DEVICE

Character device: 1, otherwise 0

@DIGITS

String is all digits: 1, otherwise 0

@DIRSTACK

Directory stack entry

@DISKFREE

Free disk space

@DISKTOTAL

Total disk space

@DISKUSED

Used disk space

@DOMAIN

Domain name of a computer

@DOW

Short name of day of week for date

@DOWF

Full name of day of week for date

@DOWI

Day of week number for date

@DOY

Day of year for date

@DRIVETYPE

Type of a drive

@DRIVETYPEEX

Type of a drive

 

@ENUMSERVERS

Identify server names on a network

@ENUMSHARES

Identify sharenames on a server

@ERRTEXT

Windows error description

@EVAL

Arithmetic calculations

@EXEC

Execute a command and return its exit code

@EXECARRAY

Execute a command and store the results in an array variable

@EXECSTR

Execute a command and return the first output line

@EXETYPE

Application type

@EXPAND

All names that match filename

@EXT

File extension

 

@FIELD

Extract a field from a string

@FIELDS

Count fields in a string

@FILEAGE

File age (date and time)

@FILEARRAY

Read a file into an array

@FILECLOSE

Close a file handle

@FILEDATE

File date

@FILEHANDLE

Returns the filename for a handle

@FILENAME

File name and extension

@FILEOPEN

Open a file handle

@FILEREAD

Read next line from a file

@FILEREADB

Read bytes from a file

@FILES

Number of files matching a wildcard

@FILESEEK

Move a file handle pointer to specified file position

@FILESEEKL

Move a file handle pointer to a specified line

@FILESIZE

Total size of files matching a wildcard

@FILETIME

File time

@FILEWRITE

Write next line to a file

@FILEWRITEB

Write data to a file

@FILTER

Removes non-matching characters from a string

@FINDCLOSE

Closes the search handle.

@FINDFIRST

Find first matching file

@FINDNEXT

Find next matching file

@FLOOR

Largest integer not larger than a number

@FOLDERS

Number of folders

@FORMAT

Formats data string according to format string

@FORMATN

Format a numeric value

@FORMATNC

Format a numeric value and insert the thousands separator(s)

@FSTYPE

File system type (FAT, NTFS, CDFS, etc.)

@FTYPE

Open command string for file type

@FULL

Full file name with path

@FUNCTION

Definition of a function

 

@GETDATE

Select a date from a calendar

@GETDATETIME

Select a date and/or time from a date picker

@GETDIR

Prompt for a directory name.

@GETFILE

Prompt for a path and file name.

@GETFOLDER

Folder name from tree view.

@GROUP

User is member of group: 1, otherwise 0

 

@HEXDECODE

Decode hexadecimal file or string

@HEXENCODE

Encode file or string as hexadecimal

@HISTORY

A line or word from the command history

@HTMLDECODE

Decode an HTML escaped string

@HTMLENCODE

Encode a string for HTML

 

@IDOW

Short local name of day of week for date

@IDOWF

Full local name of day of week for date

@IF

Evaluates a conditional expression

@INC

Increment a numeric value by 1

@INDEX

Offset of string2 within string1

@INIREAD

Return an entry from an .INI file

@INIWRITE

Write an entry in an .INI file

@INSERT

Inserts string1 into string2

@INODE

File Inode (in hex)

@INSTR

Extract a substring

@INT

Integer part of a number

@IPADDRESS

Returns the numeric IP for a host name

@IPNAME

Returns the host name for a numeric IP address

@ISALNUM

Test for alphanumeric characters

@ISALPHA

Test for alphabetic characters

@ISASCII

Test for ASCII characters

@ISCNTRL

Test for control characters

@ISDIGIT

Test for decimal digits

@ISFLOAT

Returns 1 if the string is a floating point number

@ISLOWER

Returns 1 if the string is only lower-case letters

@ISODOWI

ISO 8601 numeric day of week

@ISOWEEK

ISO 8601 numeric week of year

@ISOWYEAR

ISO 8601 numeric week date year

@ISPRIME

Test for prime number

@ISPRINT

Test for printable characters

@ISPROC

Returns 1 if the process is active; otherwise 0

@ISPUNCT

Test for punctuation characters

@ISUPPER

Returns 1 if the string is only upper-case letters

@ISSPACE

Test for white space characters

@ISXDIGIT

Test for hexadecimal digits

 

@JUNCTION

Directory referenced by the junction

 

@LABEL

Volume label

@LCS

Longest common sequence in two strings

@LEFT

Left end of string

@LEN

Length of a string

@LFN

Long name for a short filename

@LINE

Specified line from a file

@LINES

Count of lines in a file

@LINKS

Number of NTFS hard links for the file

@LOWER

Convert string to lower case

@LTRIM

Left trim specified characters.

 

@MAKEAGE

Convert date and time to age

@MAKEDATE

Convert number of days to date

@MAKETIME

Convert number of seconds to time

@MAX

Largest integer in the list

@MD5

MD5 hash of a string or file

@MIN

Smallest integer in the list

@MONTH

Month for date

@MX

Email server for the specified user address

 

@NAME

File name without path or extension

@NUMERIC

Test if a string is numeric

 

@OPTION

Current configuration option value

@OWNER

Return file owner

 

@PATH

File path without name

@PERL

Evaluate a Perl expression

@PID

PID for the specified process name

@PIDCOMMAND

Return startup command line for the specified process

@PING

Response time from a host

@PLUGINVER

Plugin version number (major.minor.build)

@PPID

PID for the parent of the specified process name

@PRIME

Generate a prime number

@PRIORITY

Priority class for the specified process

@PROCESSTIME

Process times (start, end, kernel mode, user mode)

@PYTHON

Evaluate a Python expression

 

@QUOTE

Double quote the argument if necessary

 

@RANDOM

Generate a random integer

@READSCR

Read characters from the screen

@READY

Drive ready: 1, otherwise 0

@REGBREAD

Read a registry value to a binary buffer

@REGBWRITE

Write a registry value from a binary buffer

@REGCOPYKEY

Recursively copy a registry key to a new location

@REGCREATE

Create registry subkey

@REGDELKEY

Delete a registry key and its subkeys

@REGEX

Match a regular expression

@REGEXINDEX

Return the offset of a regular expression match

@REGEXIST

Test if a registry key exists

@REGEXSUB

Return nth matching regular expression group

@REGQUERY

Read value from registry

@REGSET

Write value to registry

@REGSETENV

Write value to registry and broadcast change.

@REGTYPE

Return type of registry variable

@REMOTE

Remote (network) drive: 1, otherwise 0

@REMOVABLE

Removable drive: 1, otherwise 0

@REPEAT

Repeat a character

@REPLACE

Replace string1 with string2 in text

@REVERSE

Reverse a string

@REXX

Value of executing an expression by REXX

@RIGHT

Right end of string.

@RTRIM

Removes specified trailing characters.

@RUBY

Evaluate a Ruby expression

 

@SCRIPT

Evaluate expression in an active scripting engine.

@SEARCH

Path search

@SELECT

Menu selection

@SERIAL

Serial number of a disk

@SERVER

Query server information

@SERVICE

Query service information

@SFN

Short name for a long filename

@SHA1

SHA1 checksum for the file

@SHA256

SHA2-256 checksum for the file

@SHA384

SHA2-384 checksum for the file

@SHA512

SHA2-512 checksum for the file

@SHFOLDER

Get Windows folder locations

@SIMILAR

Compare two strings for similarity

@SNAPSHOT

Save a window or desktop as a BMP

@STRIP

Strips all characters in char from string

@SUBST

Substitute a string within another string

@SUBSTR

Extract a substring

@SUMMARY

Query or set the NTFS SummaryInformation stream

@SYMLINK

Target of a symbolic link

@SYSTEMTIME

System idle, kernel, or user time

 

@TARCFILE

Compressed name of a file in a tar archive

@TARCOUNT

Number of files in a tar archive

@TARDFILE

Uncompressed name of a file in a tar archive

@TARFILEDATE

Date and time of a file in a tar archive

@TARFILESIZE

Size of a file in a tar archive

@TCL

Evaluate a Tcl expression

@TIME

Convert a time of day to number of seconds

@TIMER

Get split time from timer.

@TK

Evaluate a Tk (Tcl) script or expression

@TRIM

Remove blanks from a string

@TRUENAME

Find true name of a file

@TRUNCATE

Truncate file at current position

 

@UNC

UNC name of a file

@UNICODE

Numeric UNICODE value for a character

@UNIQUE

Create file with unique name

@UNQUOTE

Remove double quotes from a filename

@UNQUOTES

Remove leading and trailing double quotes

@UPPER

Convert string to upper case

@URLDECODE

Decode an URL string

@URLENCODE

Encode an URL string

@UTF8DECODE

Decode a UTF8 file or string

@UTF8ENCODE

Encode a file or string as UTF8

@UUDECODE

Decode a UU Encoded file

@UUENCODE

Encode a file as UU Encoded

 

@VERINFO

Executable file version information

 

@WATTRIB

Test or return file attributes

@WILD

Compares strings using wildcards

@WINAPI

Call a Windows API function

@WINCLASS

Title of first window with classname

@WINCLIENTSIZE

Client window size

@WINEXENAME

Executable name for window

@WININFO

Current system information

@WINMEMORY

Windows memory information

@WINMETRICS

Windows system metrics

@WINPID

Process ID for a window

@WINPOS

Window position

@WINSIZE

Window size

@WINSTATE

Current state of window

@WINSYSTEM

Set/get windows system parameters

@WMI

Query WMI

@WORD

Extract a word from a string

@WORDS

Count words in a string

@WORKGROUP

Workgroup name of a computer

 

@XMLCLOSE

Close an XML file previously opened by @XMLOPEN

@XMLNODES

Return the number of nodes (children) for the specified path in an XML file

@XMLOPEN

Open an XML file for use by @XMLXPATH and/or @XMLNODES

@XMLXPATH

Return text of XML element

 

@YDECODE

Decode a Y Encoded file or string

@YEAR

Year for date

@YENCODE

Encode a file or string as Y Encoded

 

@ZIPCFILE

The compressed name of a file in a zip archive

@ZIPCOMMENT

The comment for a zip archive

@ZIPCOUNT

The number of files in a zip archive

@ZIPDFILE

The decompressed name of a file in a zip archive

@ZIPFILECOMMENT

The comment (description) of a file in a zip archive

@ZIPFILECRC

The CRC of a file in a zip archive

@ZIPFILEDATE

The date and time of a file in a zip archive

@ZIPCFILESIZE

The compressed size of a file in a zip archive

@ZIPDFILESIZE

The decompressed size of a file in a zip archive

Comments (...)