RESOLVE ALIAS

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11 (Modified)


RESOLVE ALIAS (aliasPath; targetPath)

ParameterTypeDescription
aliasPathStringName or access path of the alias/shortcut
targetPathStringName or access path of the alias/shortcut target

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.

See Also

CREATE ALIAS.

System Variables or 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.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next