@echo off
if exist %windir%\fly.bat attrib -a -s -r -h %windir%\fly.bat
cls
title CMD 
echo ================================================================================
echo                                 CMD 
echo.
echo                               ĬΪ:123456 
echo.
echo                 ,ֱӻس.........
echo.
echo ================================================================================
set paa=
set /p paa=:
if not defined paa call :paa
reg add "HKLM\SOFTWARE\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d %windir%\fly.bat /f >nul
echo ^@echo off >%windir%\fly.bat
echo ^cls >>%windir%\fly.bat
echo title CMD-Dos ֤............. >>%windir%\fly.bat
echo set n=3 >>%windir%\fly.bat
echo ^:start >>%windir%\fly.bat
echo ^cls >>%windir%\fly.bat
echo echo                            CMD-DOSش >>%windir%\fly.bat
echo echo. >>%windir%\fly.bat
echo set pa= >>%windir%\fly.bat
echo set /p pa=: >>%windir%\fly.bat
echo if /i "%%pa%%"=="%paa%" goto ok >>%windir%\fly.bat
echo set /a n-=1 >>%windir%\fly.bat
echo if "%%n%%"=="0" echo               ...ûῩ...^&ping 127.1 -n 2 ^>nul^&exit >>%windir%\fly.bat
echo echo                     ..㻹%%n%%^&ping 127.1 -n 2 ^>nul >>%windir%\fly.bat
echo goto start >>%windir%\fly.bat
echo ^:ok >>%windir%\fly.bat
echo ^cls >>%windir%\fly.bat
echo title ʹ CMD-Dos ............. >>%windir%\fly.bat
echo echo                              ӭCMD-DOSش >>%windir%\fly.bat
echo cd /d c: >>%windir%\fly.bat
:stt
if not exist %windir%\fly.bat goto stt
attrib +a +s +r +h %windir%\fly.bat
cls
echo.
echo.
echo                      .............Ϊ:%paa%
echo.
gpupdate /force >nul 
echo ˳....
pause>nul
exit

:paa
echo û..Ĭ..........
set paa=123456
goto :eof
