T.Todua
T.Todua

Reputation: 56557

Start external program with arguments (in Visual Studio - Debug properties)

Is it possible to run program with parameters, like on screenshot (Specifically, I've tried to run CMD with some params):

enter image description here

It gives me an error while I am trying to do that.

Upvotes: 2

Views: 1914

Answers (2)

Sergey Vlasov
Sergey Vlasov

Reputation: 27940

You should specify parameters in the Command line arguments box:

enter image description here

Upvotes: 3

Chris
Chris

Reputation: 2304

The problem might be stemming from the second path in your argument. Try wrapping whatever the C:\Program Fi (it's cut off in the screenshot) path is in quotes.

C:\windows\system32\cmd.exe start /m "" "C:\Program Files(x86)\Path\To\Directory"

Upvotes: 2

Related Questions