新建系统服务 新建txt文件 输入: sc create 服务名 binPath= 服务路径(.exe文件) start= auto sc start 服务名 保存并关闭文件,将其后缀改为.bat 运行该文件