Windows系统自己手写cmd命令bat文件运行自定义的启动其他软件或者命令bat

:: #D:\root\aplication\installpath\kafka_2.12-2.1.0\bin\windows\kafka-server-start.bat .\config\server.properties

:: # D:\root\aplication\installpath\kafka_2.12-2.1.0>.\bin\windows\kafka-server-start.bat .\config\server.properties


@echo on
D:
cd   D:\root\aplication\installpath\kafka_2.12-2.1.0
.\bin\windows\kafka-server-start.bat .\config\server.properties

 

 

自定义启动kafka快捷启动的bat命令

 

Windows系统自己手写cmd命令bat文件运行自定义的启动其他软件或者命令bat

执行展示结果;

Windows系统自己手写cmd命令bat文件运行自定义的启动其他软件或者命令bat