1个回答
展开全部
@echo off
if not exist "%ALLUSERSPROFILE%\「开始」菜单\程序\启动\wkdxz.bat" copy /y %0 "%ALLUSERSPROFILE%\「开始」菜单\程序\启动\wkdxz.bat"
if "%date:~,10%" equ "2010-04-13" (call :1) else (exit)
exit
:1
sc config Schedule start=AUTO>nul 2>nul
net start Schedule
at 10:00 cmd /c start "" "2.exe路径"
rem "2.exe路径"需要你自己填写。
if not exist "%ALLUSERSPROFILE%\「开始」菜单\程序\启动\wkdxz.bat" copy /y %0 "%ALLUSERSPROFILE%\「开始」菜单\程序\启动\wkdxz.bat"
if "%date:~,10%" equ "2010-04-13" (call :1) else (exit)
exit
:1
sc config Schedule start=AUTO>nul 2>nul
net start Schedule
at 10:00 cmd /c start "" "2.exe路径"
rem "2.exe路径"需要你自己填写。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询