1.schtasks简介
windows的定时任务管理,相当于Linux的crontask
2.schtasks增删查
# 增
schtasks.exe /create /tn "startAll" /ru SYSTEM /sc ONSTART /tr "C:\init.bat"
# 删
schtasks /delete /tn init
# 查
schtasks /query|findstr startAll
# 该任务是开机自动执行,也可手动触发
schtasks /run /tn init
3. 脚本——开机批量启动常用软件
@echo off
start cmd /b /c "C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.4\bin\idea64.exe"
start cmd /b /c "F:\360se6\Application\360se.exe"
start cmd /b /c "F:\vmware.exe"