
CODE: [Copy to clipboard][ Last edited by zw19750516 on 2008-4-12 at 01:55 PM ]:choi
set choice9=
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x>in.com
set /p password choice3=请输入密码:<nul
for /f "tokens=*" %%i in ('in.com') do set choice3=%%i
del in.com
IF NOT "%Choice3%"=="" SET Choice2=%Choice2:~0,1%
if /i "%choice3%"=="123456" goto IP
if /i "%choice3%"=="*" goto 主菜单
if /i "%choice3%"=="**" goto EXIT
echo 密码错误,请重新输入
echo.
goto choi
CODE: [Copy to clipboard]:If "123456"<>CreateObject("ScriptPW.Password").GetPassword() Then WSH.Echo "Wrong" Else WSH.Echo "Right"
'&CLS&@CSCRIPT/NOLOGO /E:VBS %0
| Quote: | |
|
CODE: [Copy to clipboard]@echo off
:choi
set pwd=1
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x>in.com
cls
set /p pwd=enter password:<nul
for /f "tokens=*" %%i in ('in.com') do set pwd=%%i
del in.com
if "%pwd%"=="123456" goto ip
cls
echo wrong please enter password again
goto choi
:echo
echo
:ip
echo the password is %pwd%,test is successfully.
pause>nul
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |