本文介绍了从批处理文件在新窗口中启动过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows中编写了一个批处理文件(.bat).我想在新窗口中执行特定的过程.我该怎么做?

I have written a batch file (.bat) in windows. I want to execute a particular process in a new window. How do I do this?

示例

a.py -s 3 -l 5
b.py -k 0  -> I want to start this in a new window and let the original batch file continue
C:\program.exe
...
....

推荐答案

使用启动命令:

start foo.py

start "" "c:\path with spaces\foo.py"

这篇关于从批处理文件在新窗口中启动过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 16:10
查看更多