Start-starts a separate window to run a specified program or command.

Source: Internet
Author: User
This command can start multiple processes in the batchcompute (BAT) file and execute them at the same time!

For example:

Start CMD/C .. \ dynamips-0.2.8-RC2-cygwin \ dynamips-w2000.exe-H 7200
.. \ Dynagen-0.11.0 \ dynagen. py experiment 1.net

Start["Title"] [/DPath]
[/I] [/Min] [/MAX] [/Separate |/shared]
[/Low|/Normal|/High|/Realtime] [/Wait]
[/B] [Filename] [Parameters]

Parameters

None

Used without parameters,StartOpens a second command prompt
Window.

"Title"

Specifies the title to display in window title bar.

/D Path

Specifies the startup directory.

/I

Passes the cmd.exe startup environment to the new window.

/Min

Starts a new minimized window.

/MAX

Starts a new maximized window.

/Separate

Starts 16-bit Windows programs in separate memory space.

/Shared

Starts 16-bit Windows programs in shared memory space.

/Low

Starts an application in the idle priority class.

/Normal

Starts an application in the normal priority class.

/High

Starts an application in the High priority class.

/Realtime

Starts an application in the realtime priority class.

/Wait

Starts an application and waits for it to end.

/B

Does not create a new window. CTRL + C handling is ignored unless
Application enables Ctrl + C processing. use Ctrl + break to interrupt
Application.

Filename

Specifies the command or program to start.

Parameters

Specifies parameters to pass to the command or program.

When command extensions are enabled (the default setting in Windows 2000 ),
External command invocation through the command line orStartCommand
Changes as follows:

  • Nonexecutable files may be invoked through their file association just
    Typing the name of the file as a command. For example,word.doc
    Wocould open the application associated with the. DOC file extension. Click
    AssocAndFTYPEIn the related topics list for information on
    Creating these associations from within a Command Script.
  • When executing an application that is a 32-bit GUI application,CMD
    Does not wait for the application to terminate before returning to the command
    Prompt. This new behavior does not occur if executing within a Command Script.
  • When executing a command line whose first token is the string "cmd"
    An extension or path qualifier, then "cmd" is replaced with the value of
    Comspec variable. This prevents picking upCMDFrom the current
    Directory.
  • When executing a command line whose first token does not contain
    Extension, then cmd. EXE uses the value of the pathext environment variable
    Determine which extensions to look for and in what order. The default value
    The pathext variable is:

            .COM;.EXE;.BAT;.CMD

    Note

  • The syntax is the same as the PATH variable, with semicolons separating
    Different elements.
  • When searching for an executable, if there is no match on any extension,
    Then looks to see if the name matches a directory name. If it does,
    StartCommand opens Windows Explorer on that path. If done from
    Command line, it is the equivalent to usingCD/dCommand to that
    Path.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.