批处理密码访问
作者:cmscn 日期:2009-06-18
@echo off
color a
cls
title 欢迎光临,嘿嘿,...
set pass=0
set time=5
echo 网管工作室(有疑问请联系网管);
echo 你想要看什么东东呀?请输入密码哦;
:start
set /p pass=密码:
if %pass%==88888 goto ok
if %pass%==sese18 goto ok
if %pass%==123456 goto ok1
if %pass%==ppvc goto ppvc
if %pass%==run goto run
if %pass%==au goto au
if %time%==0 goto end
set /A times=%time%-1
:end
title 密码错误!
echo 密码错误!3秒后自动退出!
ping -n 3 127.1>nul
exit
:ok
title 密码正确!观看愉快,嘿嘿;
cmd /c start \\192.168.1.105\mm$
exit
:ok1
title 密码正确!读取文件中ing...
cmd /c start \\192.168.1.105\up$
exit
:ppvc
title 密码正确!读取文件中ing...
cmd /c start \\192.168.1.211\ppvc$
exit
:run
title 密码正确!读取文件中ing...
cmd /c start \\192.168.1.211\script$\login.bat
exit
:au
title 密码正确!读取文件中ing...
set Source="\\192.168.1.105\up$\au"
set Object="E:\NetGame\劲舞团"
xcopy /E /H /C /Y /R %Source% %Object% > Nul
regedit.exe /s %Object%\dep劲舞团.reg
gpupdate.exe /force
exit
评论: 0 | 引用: 0 | 查看次数: 468
发表评论