使用windows schtasks开机批量启动常用软件

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

schtasks命令详解

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"

猜你喜欢

转载自blog.csdn.net/qq_39506978/article/details/133211991