How to start a program with command line arguments on Windows' cmd with 'start' command?



The ability to start a program with command line arguments on Windows CMD with the “start” command is a useful tool for IT administrators. By using this command, administrators can launch a program with specific parameters, allowing them to quickly and easily manage multiple programs, without having to enter the same command multiple times. This article will explain how to use the “start” command to launch a program with command line arguments on Windows CMD.

The “start” command is available on the Windows Command Prompt (CMD). To use the command, open the CMD and type “start” followed by the full path of the program you want to launch, and the command line arguments you want to use. For example, if you wanted to launch a program located at “C:\\Programs\\MyProgram.exe” with the command line argument “–parameter1”, you would type the following command:

start “C:\\Programs\\MyProgram.exe” –parameter1

The “start” command will launch the program with the specified command line arguments.

It is important to note that the “start” command will only launch one instance of a program. If you try to launch the same program multiple times, the “start” command will only launch the first instance. To launch multiple instances of the same program, you need to use the “start” command multiple times, each time with a different set of command line arguments. For example, if you wanted to launch two instances of “MyProgram.exe” with different parameters, you would type the following commands:

start “C:\\Programs\\MyProgram.exe” –parameter1

start “C:\\Programs\\MyProgram.exe” –parameter2

The “start” command can also be used to launch programs with arguments that include spaces. To do this, you must enclose the entire argument in double quotes. For example, if you wanted to launch “MyProgram.exe” with the argument “–parameter1 value1”, you would type the following command:

start “C:\\Programs\\MyProgram.exe” “–parameter1 value1”

Finally, the “start” command can also be used to launch programs with arguments that include quotation marks. To do this, you must use the escape character (^) before each quotation mark. For example, if you wanted to launch “MyProgram.exe” with the argument “–parameter1 “value1””, you would type the following command:

start “C:\\Programs\\MyProgram.exe” “–parameter1 ^”value1^””

In summary, the “start” command is a useful tool for IT administrators. It can be used to launch programs with command line arguments on Windows CMD. The “start” command can also be used to launch programs with arguments that include spaces and quotation marks. Following the instructions above, IT administrators should have no trouble using the “start” command to quickly and easily manage multiple programs.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo