How can I add command line options to an executable in a shortcut in Windows XP?
I found this great emulator. The sound and video are excelent in games. But I want to use the 'FS-UAE' emulator in GameEx. But still have not found the correct command line to make it work.
For example in the shortcut properties in target I have:
I want to add some options:
However when I do this I get an error saying that the name specified in the target box is not valid.
Karl VoigtlandKarl Voigtland
4 Answers
Have you tried to add in the Target field
Only the program path and name need to be enclosed in quotes.
![Winuae Command Line Winuae Command Line](http://i2.imageban.ru/out/2018/07/18/4035bcd0c53eca04f6b76ddb379dfea5.png)
19k1010 gold badges6262 silver badges7676 bronze badges
Place the switches after the quotes.
Only the program path is kept in quotes due to spaces in the path. Something like
John TJohn TMy 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.145k2222 gold badges301301 silver badges334334 bronze badges
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.
Ryan BolgerRyan Bolger
You can also use shortcuts for direct access to a folder or a website.
Folder:
F:CriticalFilesMS_InternetAccess
Internet:
'C:Program Files (x86)Internet Exploreriexplore.exe' 'https://www.theguardian.com/world'
I use quotes around both arguments.
I am using these because Win10 seems to lose the start menu from time to time.
Folder:
F:CriticalFilesMS_InternetAccess
Internet:
'C:Program Files (x86)Internet Exploreriexplore.exe' 'https://www.theguardian.com/world'
I use quotes around both arguments.
I am using these because Win10 seems to lose the start menu from time to time.
Robert PearceRobert Pearce
protected by Community♦Jan 8 '18 at 20:35
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?