1 | initial version |
By default Visual Studio runs your application without command prompt parameters. Open Project Properties and set your command line options to Common Properties -> General -> Command line. It solves both your issues. Visual Studio command prompt is a system command prompt (cmd.exe) with ready build environment. You do not need build environment to run sample, you can use just cmd.exe.
2 | No.2 Revision |
By default Visual Studio runs your application without command prompt parameters. Open Project Properties and set your command line options to Common Configuration Properties -> General Debuging -> Command line. arguments. It solves both your issues. Visual Studio command prompt is a system command prompt (cmd.exe) with ready build environment. You do not need build environment to run sample, you can use just cmd.exe.