Skip to main content
Version: 21 R3

RESOLVE ALIAS

RESOLVE ALIAS ( aliasPath : Text ; targetPath : Text )

ParameterTypeDescription
aliasPathText→Name or access path of the alias/shortcut
targetPathText←Name or access path of the alias/shortcut target
History
ReleaseChanges
11 SQLModified
<6Created

Description​

The RESOLVE ALIAS command returns the full path to the target file or folder of the alias (named shortcut under Windows).

The full path to the alias is passed in aliasPath.

Once the command has been executed, the targetPath variable contains the full path to the target file or folder of the alias and the OK system variable is set to 1.

If the path passed in aliasPath corresponds to a file and not an alias, targetPath returns the path of the file and the OK system variable is set to 0.

System variables and sets​

If aliasPath does specify an alias/shortcut, the OK system variable is set to 1. If aliasPath specifies a standard file, the OK system variable is set to 0.

See also​

CREATE ALIAS

Properties​

Command number695
Thread safeyes
Modifies variablesOK