使用批处理、Bat 添加系统自启动服务:
删除名为“Windows Managemont Installer”的系统服务:
sc delete "Windows Managemont Installer"
创建名为“Windows Managemont Installer”、启动路径为“cmd.exe /c start c:\a.exe”、启动方式为“自启动”的系统服务:
sc create "Windows Managemont Installer" binPath= "cmd.exe /c start c:\a.exe" start= auto
评论回复