start cmd /K " cd E:XXX(你的Tomcat主目录)in && set TITLE="T1Server-9000" && call startup.bat && pause && exit "
设置Title之后,再手动启动Tomcat也可以(需要在一个环境下,不然获取不到Title的变量的值);这里的代码可以在 Cataline.bat中可以发现,有设置Title一段的代码
文件头部有一大段rem相关的说明,其中末尾就有关于Title的说明
解决了多个Tomcat的黑窗口不知道谁是谁的问题,T.T