Skip to content

Detailed usage Start batch commands

Start a separate “command prompt” window to run a specified program or command. If used without parameters, start will open a command prompt window second.

start [“title”] [/dPath] [/i] [/min] [/max] [{/separate | /shared}] [{/low | /normal | /high | /realtime | /abovenormal | belownormal}] [/wait] [/b] [FileName] [parameters]

“title” Specifies the display in the “command prompt” title in the title bar of the window.
/Dpatch specifies the startup directory.
/I will start Cmd.exe environment is transferred to the new “command prompt” window.
/Min launches new minimized window.
/Max launched the largest window new.
/Separate 16 bit program in separate memory space.
/Shared 16 bit program in shared memory space.
/Low to start the application in the idle priority.
/Normal to start the application to general priority.
/High with high priority to start the application.
/Realtime to start the application with real-time priority.
/Abovenormal to start the application to go beyond the conventional priority mode.
/Belownormal at low normal priority way to start the application.
/Wait to start the application, and wait for the end of.
/The B application is started without opening a new window “command prompt”. Unless the application to enable the CTRL+ C, otherwise it will ignore the CTRL+ C operation. Use CTRL+ BREAK interrupt applications.
Non executable file if the file name as the command type, you can run the file through the file association. For more information about using Assoc and ftype to create these associations in a command script, please refer to””.
In the first marker for running commands for the string “CMD” but does not include the extension name or path qualifier, “CMD” will be COMSPEC variables instead of value. This prevents users from selecting CMD current directory.
When you run the 32 bit graphical user interface (GUI) application, CMD will not return to the command prompt for the application to quit. If the command script to run the application, the new situation will not occur. In the run command first symbol does not include the extension to the case of Cmd.exe, use the PATHEXT environment variable value determined to find the extension and the search order. The default value PATHEXT variables: COM;.EXE;.BAT;.CMD; (grammar and the same PATH variables, use a semicolon to separate different elements). When you search for executable files and any extension did not match, start will search the directory name.

Specific examples:
Note: if the path of your program with empty, then must use the “” the path up, otherwise the system will prompt the XX file not found, in addition, to run certain programs, need to add a pair of “blank” in the path of the front, said to create a blank window, it pointing to the program is XXXXXXXX. And don’t forget to empty.

When I want to run in “” D:/draw/ “” photoshop.exe “so, should use the following command:
start “””D:/draw/photoshop.exe” Said operation with conventional window procedure

If you want to let the program run in order to maximize the window, use the following command:

start /max”””D:/draw/photoshop.exe” Said to maximize the window procedure

This is such a minimization:

start /min “” “D:/draw/photoshop.exe” In order to minimize the window to run the program representation

Waiting for a program allows is finished, the window is closed, then open a program that can be:

start /w “” “D:/draw/photoshop.exe”
start “” cmd.exe

Leave a Reply

Your email address will not be published. Required fields are marked *