Programming with Reflection
ShortcutFolder property
Syntax |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) the complete path to the folder where Reflection saves shortcuts to settings files. When you save a settings file, Reflection saves the file in the current working directory. If the CreateShortcut property is set to True, Reflection also saves a shortcut to the settings file in the designated Shortcut Folder. You can save shortcuts directly to your desktop by specifying the path to your desktop for the value for this property, as shown in these examples:
Session.ShortcutFolder = "C:\Windows\Desktop"
Session.ShortcutFolder = "C:\Winnt\Profiles\Joe\Desktop"
The default value is an empty string.
This string can be up to 260 characters long.