Start


Applies To: Windows Server 2003 R2,Windows Vista,Windows Server 2003,Windows Server 2003 with SP2,Windows Server 2000,Windows Server 2003 with SP1,Windows Server 2008,Windows Server 2008 R2

Starts a separate Command Prompt window to run a specified program or command.

For examples of how to use this command, see Examples.

Syntax


Copy Code

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

Parameters

Parameter

Description

"<Title>"

Specifies the title to display in the Command Prompt window title bar.

/d <Path>

Specifies the startup directory.

/i

Passes the Cmd.exe startup environment to the new Command Prompt window. If /i is not specified, the current environment is used.

{/min | /max}

Specifies to minimize (/min) or maximize (/max) the new Command Prompt window.

{/separate | /shared}

Starts 16-bit programs in a separate memory space (/separate) or shared memory space (/shared). These options are not supported on 64-bit platforms.

{/low | /normal | /high | /realtime | /abovenormal | /belownormal}

Starts an application in the specified priority class. Valid priority class values are /low, /normal, /high, /realtime, /abovenormal, and /belownormal.

/affinity <HexAffinity>

Applies the specified processor affinity mask (expressed as a hexadecimal number) to the new application.

/wait

Starts an application and waits for it to end.

/b

Starts an application without opening a new Command Prompt window. CTRL+C handling is ignored unless the application enables CTRL+C processing. Use CTRL+BREAK to interrupt the application.

/b {<Command> | <Program>}

Specifies the command or program to start.

<Parameters>

Specifies parameters to pass to the command or program.

/?

Displays help at the command prompt.

Remarks


Copy Code

.COM;.EXE;.BAT;.CMD

Note that the syntax is the same as the PATH variable, with semicolons separating each extension.

Examples

To start the Myapp program at the command prompt and retain use of the current Command Prompt window, type:


Copy Code

start myapp

To view the start command-line help topic in a separate maximized Command Prompt window, type:


Copy Code

start /max start /?

Additional references

Command-Line Syntax Key