How to add command line options to shortcut?
Have you tried to add in the Target field
"c:\path\to\exe\program.exe" -option1 -option2
Only the program path and name need to be enclosed in quotes.
Place the switches after the quotes.
Only the program path is kept in quotes due to spaces in the path. Something like My Documents
will not resolve properly due to the space between the words, so quotes are needed. This is also why you probably won't find a program with multi-word switches (that are seperate) such as --example switch
. You will usually see something like --example-switch
instead because a space constitutes a separate program argument.
Your quotes are in the wrong place. The quotes only go around individual paths. So move your ending quote back to the end of program.exe and leave -option1 -option2 outside of the quotes.