4D v14.3

RESOLVE ALIAS

Home

 
4D v14.3
RESOLVE ALIAS

RESOLVE ALIAS 


 

RESOLVE ALIAS ( aliasPath ; targetPath ) 
Parameter Type   Description
aliasPath  String in Name or access path of the alias/shortcut
targetPath  String in Name or access path of the alias/shortcut target

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.

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.

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 695

The OK variable is changed by the command

 
HISTORY 

Modified: 4D v11 SQL

 
SEE ALSO 

CREATE ALIAS

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)