Copy Code code as follows:
@echo off
Color 0a
Cls
Set Path =\\game\xz$
echo. Detecting whether to connect to the Save area ...
@net use J: "% PATH%"
If exist j:\ goto Nno
At the end of the Echo connection, contact your network administrator.
Pause>nul
Exit
: Nno
@net Use/del J: >nul
: Koko
Cls
Echo┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
Echo┃ Dear customer of this internet café: ┃
Echo┃┃
Echo┃, Hello ~!. ┃
Echo┃ you have to save pictures, documents, software, game archive .... Wait for information? ┃
Echo┃┃
Echo┃ because our Internet café computer is equipped with a restore system, your data will be lost after the restart. ┃
Echo┃ Please put the information you need to save to the Internet café for you to prepare the "save area" okay? ┃
Echo┃┃
Echo┃┃
Echo┃ Note: the "Save area" data will not be restored, and any computer can access the ┃
Echo┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Echo.
Echo.
echo, please enter your account number and return! If you do not have an account, please press ENTER after you create a new one, and remember that the account is well established. So that you can use the next login.
Echo---------------------------------------------------
set/p username = user name:
Echo---------------------------------------------------
If% user name% Geq 1 goto start
echo MSGBox "username cannot be a special symbol, please re-enter!", 48, "error message:" >nos.vbs &&call nos.vbs &&del nos.vbs &&goto
: Start
Set user name |findstr "\<%search%\>" >nul
Set search=% user% >nul
Echo is validating user%% user name
echo Please wait ...
If exist% path%\% user name% goto Pass >nul
If not exist% path%\% user name% goto MD >nul
:p
REM Password verification
Set Errorlevel=>nul
echo→ "% User Name%" This user already exists, please enter your password:
Echo---------------------------------------------------
set/p Password = password:
If% password% Geq 1 goto Yes
echo MSGBox "Cannot use special symbols, please re-enter!", 48, "Warm tip:" >nos.vbs &&call nos.vbs &&del nos.vbs &&call%0
: Yes
Set Password |findstr "\<%pass%\>" >nul
Set pass=% Password% >nul
If errorlevel=1 cls &&echo MSGBox "Password cannot be empty Oh, please re-enter it!! ^_^ ", 48," Warm tip: ">kong.vbs &&call kong.vbs &&del kong.vbs &&call%0
If exist% path%\% user name%\pass\% password% goto login >nul
If not exist% path%\% username%\pass\% password% echo MSGBox "You entered the wrong password!" Please re-enter it!! ", 48," Warm tip: ">run.vbs &&call run.vbs &&del run.vbs &&call%0
: Login
echo MSGBox "Congratulations ~! Password Verification Successful! Welcome to your login! * * Please do not upload Trojan virus Oh, thank you for your cooperation! ^_^ ", 48," Warm tip: "
Cls
echo, please wait.
Echo is opening the save area for you.
NET use u:/delete/yes >nul
NET use u:% path%\% user name%/yes >nul
@explorer. exe u:\
Exit
: MD
echo username does not exist, do you want to create a new user?
Echo.
echo A: Create A New user B: Re-enter
Echo.
set/p tw= >nul
If "%tw%" = = "a" goto Yesok
If "%tw%" = = "A" goto Yesok
If "%tw%" = = "B" goto Koko
If "%tw%" = = "B" goto Koko
: Yesok
Set Errorlevel=>nul
echo Please set a password for your new user:
Echo---------------------------------------------------
Echo.
set/p Password = password:
If% password% Geq 1 goto OKs
echo MSGBox "Cannot use special symbols, please re-enter!", 48, "Warm tip:" >run.vbs &&call run.vbs &&del run.vbs &&goto Yesok
: OKs
set/p Password 0 = Please enter again:
If "% password 0%" = "% password%" goto OKSS
Echo MSGBox "Your two times password is different, please re-enter!", 48, "error message:" >no.vbs &&call no.vbs &&del no.vbs &&goto
Goto:yesok
: OKSS
Set Password |findstr "\<%pass%\>" >nul
Set pass=% Password% >nul
If errorlevel=1 cls &&echo MSGBox "Password cannot be empty Oh, please re-enter it!! ^_^ ", 48," Warm tip: ">run.vbs &&call run.vbs &&del run.vbs &&call%0
md% path%\% user name% >nul
md% Path%\% user name%\pass
attrib +h +s% path%\% user name%\pass
attrib +h +s% path%\% user name%
md% Path%\% username%\pass\% password%
echo MSGBox "Congratulations ~! You have become the Internet café "save area" of new users, quickly put your information into it! ~*_^ ", 48," Warm tip: ">run.vbs &&call run.vbs &&del run.vbs
Cls
echo, please wait.
Echo is opening the save area for you.
NET use u:/delete/yes >nul
NET use u:% path%\% user name%/yes >nul
@explorer. exe u:\
Exit