微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我可以在Windows命令行的后台运行GUI程序吗?

例如,在 Bash中,我可以这样做:
emacs foo.txt &

在Windows中有任何等价物吗?我似乎无法通过Windows版本的emacs找到一种方法.

在Windows中从命令行启动程序的命令是“开始”
Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEParaTE | /SHARED]
      [/LOW | /norMAL | /HIGH | /REALTIME | /ABOVEnorMAL | /BELOWnorMAL]
      [/AFFINITY <hex affinity>] [/WAIT] [/B] [command/program]
      [parameters]

    "title"     Title to display in  window title bar.
    path        Starting directory
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the application
                enables ^C processing,^Break is the only way to interrupt
                the application
    I           The new environment will be the original environment passed
                to the cmd.exe and not the current environment.
    MIN         Start window minimized
    MAX         Start window maximized
    SEParaTE    Start 16-bit Windows program in separate memory space
    SHARED      Start 16-bit Windows program in shared memory space
    LOW         Start application in the IDLE priority class
    norMAL      Start application in the norMAL priority class
    HIGH        Start application in the HIGH priority class
    REALTIME    Start application in the REALTIME priority class
    ABOVEnorMAL Start application in the ABOVEnorMAL priority class
    BELOWnorMAL Start application in the BELOWnorMAL priority class
    AFFINITY    The new application will have the specified processor
                affinity mask,expressed as a hexadecimal number.
    WAIT        Start application and wait for it to terminate

您可能希望使用MIN选项来启动最小化的程序

原文地址:https://www.jb51.cc/windows/370068.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐