设置定时任务 @echo off set NAME=dailybackup set TIME=20:01:00 set DAY=MON,TUE,WED,THU,FRI,SAT,SUN set COMMAND=cscript.exe %~dp0dailybak.vbs %SystemDrive% cd %windir%\tasks\ if exist %NAME%.job del %NAME%.job schtasks /create /tn %NAME% /tr "%COMMAND%" /sc weekly /d %DAY% /st %TIME% /ru system
bat设置windows计划任务
内容版权声明:除非注明,否则皆为本站原创文章。