• Start Starts a separate window to run a specified program or command.


    这个命令可以在批处理(bat)文件中单独起多个进程(process),同时执行!
    例如:
    start cmd /c ..\dynamips-0.2.8-RC2-cygwin\dynamips-w2000.exe -7200
    ..\dynagen
    -0.11.0\dynagen.py 实验1.net


    start ["title"] [/dpath] [/i] [/min] [/max] [/separate| /shared] [/low|/normal|/high|/realtime] [/wait] [/b] [filename] [parameters]

    Parameters

    none

    Used without parameters, start opens 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 the application enables CTRL+C processing. Use CTRL+BREAK to interrupt the 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 or the start command changes as follows:

    • Nonexecutable files may be invoked through their file association just by typing the name of the file as a command. For example, word.doc would open the application associated with the .doc file extension. Click assoc and ftype in 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" without an extension or path qualifier, then "CMD" is replaced with the value of the COMSPEC variable. This prevents picking up cmd from the current directory.
    • When executing a command line whose first token does not contain an extension, then CMD.EXE uses the value of the PATHEXT environment variable to determine which extensions to look for and in what order. The default value for the PATHEXT variable is:
              .COM;.EXE;.BAT;.CMD

      Note

    • The syntax is the same as the PATH variable, with semicolons separating the 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, the start command opens Windows Explorer on that path. If done from the command line, it is the equivalent to using the cd /d command to that path.

  • 相关阅读:
    解决知乎pc端频繁展现视频问题
    (转)求树的直径
    (转)海量数据处理专题
    const用法小结
    codeblocks中更改gnometerminal终端调试方法
    谷歌收购摩托罗拉移动
    (转)详解sizeof
    (转)位计算的诸多算法(计算二进制1的个数)
    (转)glibc中字符串函数源码分析
    (转)typedef的用法
  • 原文地址:https://www.cnblogs.com/lansh/p/1187833.html
Copyright © 2020-2023  润新知