4D v19folder.createAlias( ) |
|||||||||||
|
4D v19
folder.createAlias( )
|
Constant | Value | Comment |
fk alias link | 0 | Alias link (macOS only)(default) |
fk symbolic link | 1 | Symbolic link (macOS only) |
On Windows, a shortcut (.lnk file) is always created (the aliasType parameter is ignored).
Returned object
The folder.createAlias( ) method returns a Folder object with the folder.isAlias property set to True.
You want to create an alias to an archive folder in your database folder:
$myFolder:=Folder("C:\\Documents\\Archives\\2019\\January";fk platform path)
$aliasFile:=$myFolder.createAlias(Folder("/PACKAGE");"Jan2019")
Product: 4D
Theme: File and Folder
4D Language Reference ( 4D v19)
4D Language Reference ( 4D v19.1)