Using command line switches

  • Thread starter Thread starter James Wagner
  • Start date Start date
J

James Wagner

Hi all.
I wish to run a program with switches:
myprog.exe /option1 /option2

How do I put these in the shortcut (lets say I have one on the desktop).

TIA
Guy
 
Hello James,

In "target" field for the shortcut type

"C:\My application folder\my prog.exe" /option1 /option2

Hope that helps ;)
 
Hi all.
I wish to run a program with switches:
myprog.exe /option1 /option2

How do I put these in the shortcut (lets say I have one on the desktop).

Right click, select "Properties".

Sometimes there will be multiple panes in the Properties dialog --
find the command line and add the desired options. Be careful not to
mess up any quote marks that are there.
 
Back
Top