Share via

Starting a program with arguments

Anonymous
2010-09-03T05:00:25+00:00

Okay, I'm sure that the answer to this question is buried in the back of my brain but I can't find it.   I poked around on this forum and searched with google.

Here's the situation.  I have a little program, lets call it foo.exe,  that I want to run that gets it's configuration from a couple command line arguments.

How the heck do I specify the arguments in the properties box for either the program or the shortcut?

Essentially I want to have  "foo.exe /A /B" and be able to double click it and have it run.

Thanks.


Windows for home | Previous Windows versions | Accessibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-09-03T05:03:42+00:00

Hi,

Make a Shortcut then Right Click it - Properties - Shortcut tab - put the arguments at the end of

the Target.

Hope this helps.


Rob Brown - MS MVP - Windows Desktop Experience : Bicycle - Mark Twain said it right.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2010-09-03T05:19:19+00:00

    Well, that was easy enough.   I was putting quotes around the arguments because some were file names and had   spaces in the names.  turns out that wasn't necessary.

    Thanks.

    Was this answer helpful?

    0 comments No comments