| 4D v18file.createAlias( ) | |||||||||||
| 
 | 
    4D v18
 file.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 file.createAlias( ) method returns a File object with the file.isAlias property set to true.
You want to create an alias to a file in your database folder:
 $myFile:=Folder(fk documents folder).file("Archives/ReadMe.txt")
 $aliasFile:=$myFile.createAlias(File("/PACKAGE");"ReadMe")
	Product:  4D
	Theme:  File and Folder
	
        
        
	
	
	
	4D Language Reference ( 4D v18)
	
	
	
 Add a comment
Add a comment