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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top