gpt4 book ai didi

windows - 批处理文件 : write a command in fresh made cmd with other title

转载 作者:行者123 更新时间:2023-11-28 23:16:40 26 4
gpt4 key购买 nike

我有一个运行我的 tomcat 服务器的批处理文件:

.cmd 文件

REM This is the startup
start cmd.exe /k title killthis
call catalina run

现在,如果我运行它,tomcat 将在我的批处理文件中启动。但我想做的是在标题为“killthis”的cmd 窗口中运行我的catalina(tomcat)。我搜索了整个互联网但找不到它,请任何人帮忙吗?我已经考虑了一个星期左右。

操作系统:
-Windows 7 专业版

亲切的问候

最佳答案

通过运行 start/? 你会看到所有相关的帮助和开关,但你想要:

START "killthis" cmd.exe /k catalina run

关于windows - 批处理文件 : write a command in fresh made cmd with other title,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48564856/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com