windows 用批处理设置一个at计划任务,设置不上,求解答
@echooncd/d%~dp0setpath=echo%~f0at8:30AM/Every:Sundaycmd/c%path%pause...
@echo on
cd /d %~dp0
set path=echo %~f0
at 8:30AM /Every:Sunday cmd /c %path%
pause 展开
cd /d %~dp0
set path=echo %~f0
at 8:30AM /Every:Sunday cmd /c %path%
pause 展开
展开全部
@echo on
cd /d %~dp0
set path=echo %~f0
at 8:30AM /Every:Sunday cmd /c echo %path%
pause
追问
其实,我是想用%path%做一个任务的方式来执行的,后来改为如形式就好了,不过还是感谢你,依然采纳的回答0.0
@echo on
cd /d %~dp0
set path=echo %~f0
at 8:30AM /Every:Sunday cmd /c start %path%
pause
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询