在bios设置21:58定时开机,然后在你需要晚上运行时运行下面的批处理
@echo off
set p=%USERPROFILE%\「开始」菜单\程序\启动\aa.bat
md c:\%date:~,10%
if exist "%p%" exit
echo if not exist c:\%%date:~,10^%% at 22:00 shutdown -s -f -t ^0>"%p%"
echo if exist c:\%%date:~,10%% at 22:00 c:\aa.exe>>"%p%"
echo if exist c:\%%date:~,10%% rd c:\%%date:~,10%% >>"%p%"
批处理放总文件夹下,会新建一文件夹new (第二三行等号后可自己改)
@echo off
set dd=new
set ff=0.txt
md "%dd%" 2>nul
for /f "delims=" %%i in ('dir/b/ad^|findstr/iv "%dd%"'
)do (echo %%i
move "%%i\%ff%" "%dd%\%%i%ff%")
pause