CommandLine
Previous  Top  Next

CommandLine - Specify command line arguments for a shortcut executable

For shortcut executables, you can specify the command line which is passed to the virtual app. You should include the app name as the first parameter.

Examples

Pass "/SomeOption SomeParameter" as command line arguments 
[MyShortcutApp.exe]  
Source=%ProgramFilesDir%\Myapp\MyShortcutApp.exe  
Shortcut=HostApp.exe  
CommandLine="%ProgramFilesDir%\Myapp\MyShortcutApp.exe" /SomeOption SomeParameter