如何创建命令以运行Windows Batch中的其他应用程序?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何创建命令以运行Windows Batch中的其他应用程序?相关的知识,希望对你有一定的参考价值。
我的目标是通过Windows Batch中的命令运行其他程序。 Here are the files I would like to run through a single command if possible.
但是我最好尝试的代码是这个
start "C:usersexcreOneDriveDesktopCoding FilesGTA ChinatownTerms & Conditions.html"
start "C:usersexcreOneDriveDesktopCoding FilesGTA ChinatownAudio_Synthesis-Program.vbs"
start "C:usersexcreOneDriveDesktopCoding FilesGTA Chinatown est3.bat"
This resulted in a simple location CMD tab as shown here
如果有人对此有潜在解决方案,请在下面提及
答案
如果要使用队列在单个终端中运行命令,则可以使用&&
。>>
command1.bat && command2.bat && command3.bat && test.html
如果您在此处使用任何命令之前使用
start
,它将在新窗口中打开。
start command1.bat && command2.bat && command3.bat && test.html
在此示例中,仅
command1.bat
在单独的窗口上运行
以上是关于如何创建命令以运行Windows Batch中的其他应用程序?的主要内容,如果未能解决你的问题,请参考以下文章
CFX: 采用Perl或Windows batch运行CFX脚本文件
Windows BATCH:如何禁用单个脚本的快速编辑模式?
如何从 Windows Batch 子例程调用 SCons?