bat启动文件或者服务

来源:互联网 发布:暨南大学 知乎 编辑:程序博客网 时间:2024/05/17 06:35

1、 启动exe或者bat文件

start d:\aa.exe

2、启动服务(Tomcat5 为系统服务的名字)

sc start Tomcat5 auto