Go to: Return value. Related commands. Flags. Examples.

Synopsis

about [flags]

This command displays version information about the application if it is executed without flags. If one of the above flags is specified then the specified version information is returned.

Return value

The application's version information.

Related commands

fileInfo

Flags

application, batch, buildDirectory, currentDate, currentTime, cutIdentifier, date, environmentFile, evalVersion, file, irix, is64, linux, linux64, macOS, ntOS, operatingSystem, operatingSystemVersion, product, version, win64, windows

Long name (short name)[argument types]Properties
-cutIdentifier (-c) query
Return the cut string
-version (-v) query
Return the version string
-file (-f) query
Return the file version string
-product (-p) query
Return the license product name
-date (-d) query
Return the build date string
-application (-a) query
Return the application name string
-buildDirectory (-bd) query
Return the build directory string
-environmentFile (-env) query
Return the location of the application defaults file.
-operatingSystem (-os) query
Returns the operating system type. Valid return types are "nt", "win64", "mac", "irix", "linux" and "linux64"
-operatingSystemVersion (-osv) query
Returns the operating system version. on Linux this returns the equivalent of uname -srvm
-ntOS (-nt) query
Returns true if the operating system is Windows.
-windows (-win) query
Returns true if the operating system is Windows based.
-win64 (-w64) query
Returns true if the operating system is Windows x64 based.
-irix (-ir) query
Returns true if the operating system is Irix.
-evalVersion (-ev) query
Returns true if this is an eval version of the application.
-linux (-li) query
Returns true if the operating system is Linux.
-linux64 (-l64) query
Returns true if the operating system is Linux 64 bit.
-batch (-b) query
Returns true if application is in batch mode.
-macOS (-mac) query
Returns true if the operating system is Macintosh.
-currentDate (-cd) query
Returns the current date in the format yyyy/mm/dd, e.g. 2003/05/04.
-currentTime (-ct) query
Returns the current time in the format hh:mm:ss, e.g. 14:27:53.
-is64 (-x64) query
Returns true if the application is 64 bit.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Examples

		about;

		string $version = `about -v`;