shortcut FILENAME property
Return to Introduction  Previous page  Next page
Applies to
acShortcut component.  

Declaration
property FILENAME: String;  

Description
The FILENAME property specifies the name of shortcut file, to read the information from the shell link (.LNK file). At once after pointing the FILENAME to the shortcut, the acShortcut component will read all shortcut information to fill other properties with determinated values.  
 
tip The FILENAME property is an alternative way to read the shortcut information and does the same as LoadFromFile method. However, unlike the LoadFromFile, the FILENAME property works either at run- or design-time, so you can play with the component specifying the .LNK files and reading shortcut information even at design-time.  

See also
LinkTarget and WorkingDirectory properties.