START

RECENT NEWS

12/18/2015 - Hello! We're excited to announce that Mental Works Computing Software will soon be featuring

12/11/2015 - We're going to announce Dr.Batcher 3.0 Alpha with batch files debugger support soon. If you want to start...

News history...

TESTIMONIALS

Rob van der Woude:
"Mental Works Computing Software has created a nice tool for...

Andrew Jaritsyn:
“I used to write batch files with the help of Notepad, but...

Steve H.:
“This tool helped me to write some batch files in a couple...

More...

START

Starts a program, command or batch file (in a new window).

Syntax:

START ["Title"] [/d Path] [/i] [{/min | /max}] [{/separate | /shared}] [{/low | /normal | /high | /realtime | /abovenormal | /belownormal}] [/affinity HexAffinity] [/wait] [/b {Command |Program} [Parameters]]

“Title” – text to be displayed in a new window’s title bar.

/d Path – makes new window start in the specified directory, where Path is a startup folder.

/i – makes CMD start a new window.

/min – minimizes new Command Prompt window.

/max – maximizes new Command Prompt window.

/separate – starts 16-bit programs in a separate memory space.

/shared – starts 16-bit programs in a shared memory space.

/low – starts an application in low priority.

/normal – starts an application in normal priority.

/high – starts an application in high priority.

/realtime – starts an application in real time priority.

/abovenormal – starts an application in above normal priority.

/belownormal – starts an application in below normal priority.

/affinity HexAffinity – processors affinity mask for the new application. HexAffinity should be hexadecimal number.

/wait – makes the calling Command Line session wait for the end of the execution of the started program, command or batch file.

/b – starts a program, command or batch file without opening new window.

Command |Program – command or program to start.

Parameters – parameters to be passed to started command/program.

Usage:

You can execute non-executable files through programs they are associated with by specifying their names as commands.

If you run 32-bit GUI application, CMD doesn’t wait for the end of its execution before returning to Command Prompt.

If the file specified doesn’t contain extension, START command will try to add the extension from PATHEXT variable. Default PATHEXT value is .COM;.EXE;.BAT;.CMD.

If the specified name matches only directory name, START command will open this folder in Explorer.

Examples:

Start CMD in a separate maximized window:

START /max CMD

 

Subscribe batch files programming newsletter (no spam):

Subscribe

Unsubscribe