Others..::..CreateShortcut Method
Create Windows shortcut
Namespace:
robotManager.HelpfulAssembly: robotManager (in robotManager.dll)
Syntax
public static void CreateShortcut( string sourceFile, string shortcutFile, string description, string arguments, string hotKey, string workingDirectory )
Parameters
- sourceFile
- Type: String
A file you want to make shortcut to
- shortcutFile
- Type: String
Path and shortcut file name including file extension (.lnk)
- description
- Type: String
Shortcut description
- arguments
- Type: String
Command line arguments
- hotKey
- Type: String
Shortcut hot key as a string, for example "Ctrl+F"
- workingDirectory
- Type: String
"Start in" shortcut parameter