在运行批处理,从一个新的窗口,一个批处理文件? [英] Run a batch file in a new window from batch?
问题描述
我知道这似乎这已被问过,但我需要一批在新窗口中打开另一个批次。我试过:
I know it seems this has been asked before, but I need a batch to open another batch in a new window. I've tried:
start abc.bat
cmd abc.bat
run abc.bat
和其他。他们已经在同一个窗口中的所有打开或只是在新窗口中打开命令提示符,无视我的批处理。是否有一个批处理命令在新窗口中打开一个批处理文件?
and others. They've all opened in the same window or just opened Command Prompt in new window, ignoring my batch. Is there a batch command to open a batch file in a new window?
推荐答案
这是一个有点怪启动abc.bat
不工作,但我想这是因为您在另一批中间运行此。你可能需要呼叫
:
It's a little bit strange that start abc.bat
doesn't work but I assume this is because you are running this in the middle of another batch. You probably need call
:
22:22:38.85 c:\help call
Calls one batch program from another.
CALL [drive:][path]filename [batch-parameters]
为您提供启动呼叫abc.bat
或调用start abc.bat
取决于具体的问题是什么。
Giving you start call abc.bat
or call start abc.bat
depending on what the exact problem is.
这篇关于在运行批处理,从一个新的窗口,一个批处理文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!