本帖最后由 ArdentMan 于 2011-8-15 01:47 编辑
实现起来相当麻烦(密码是m,记得按回车)- @Echo Off
- If Defined Flag Goto Next
- ::请将下面的空格换成TAB制表符
- Set "Tab= "
- For /L %%I In (1,1,92) Do Call,Set "tg=%%tg%%"
- Set "Flag=a"&Start /b "" %0
- For /L %%j In (1,1,500) Do Echo>Nul
- For /L %%i In (10,-1,1) Do (
- If Not Exist "%Temp%\bathome" (
- 2>Nul Echo %Tab%%tg%&Set /p= <Nul
- Set /p=%tg:~,20%请在%%i秒内输入密码<Nul
- Echo,&Set /p=密码?<Nul
- For /L %%j In (1,1,4000) Do Echo>Nul
- )
- )
- If Not Exist "%Temp%\bathome" TaskKill /f /im cmd.exe>Nul
- Exit
- :Next
- Echo,&Set /p Str=密码?
- If "%Str%" EQU "m" Cls&Echo 密码正确&Cd.>"%Temp%\bathome"
- Pause>Nul
- Del "%Temp%\bathome" 2>Nul&Exit
复制代码
|