使用bat启动打开cmd多个bat文件启动redis kafka zookeeper

使用bat打开cmd窗口 启动多个文件及其配置

%redis启动及其配置%
start cmd /k "E:\Redis-x64-3.2.100\redis-server.exe E:\Redis-x64-3.2.100\redis.windows.conf"
%zk启动%
start /d "C:\Users\tk\Desktop\kafka\kafka\zookeeper-3.4.12\bin" zkServer.cmd
%kafka启动%
start cmd /k "C:\Users\tk\Desktop\kafka\kafka\kafka_2.12-1.1.0\bin\windows\kafka-server-start.bat C:\Users\tk\Desktop\kafka\kafka\kafka_2.12-1.1.0\config\server.properties"

你可能感兴趣的:(小技巧)