Batch codes

The Batch Login:

@echo off
:start
cls
echo Have you got an account? (Y/N)
set /p yn=
IF %yn% == N GOTO 1
IF %yn% == n GOTO 1
IF %yn% == Y GOTO 2
IF %yn% == y GOTO 2

:1
cls
echo Please type your new account name.

set /p username=
md %username%
cls
echo loading
ping localhose -n 2 > nul
cls
echo loading.
ping localhose -n 2 > nul
cls
echo loading..
ping localhose -n 2 > nul
cls
echo loading...
ping localhose -n 2 > nul
cls
echo Enjoy!
cls
PAUSE > nul
goto start
exit

:2
cls
set /p login=Username:
if not exist %login% goto start
:logged in
cls
echo whatev happens wen logged in
PAUSE > nul

Leave a response and help improve reader response. All your responses matter, so say whatever you want. But please refrain from spamming and shameless plugs, as well as excessive use of vulgar language.

One Response to “Batch codes”

  1. nuggettboy@gmail.com

    Hey, I am working on making my own operating system but dont knwo all of teh .bat codes for it.. I was wondering if I could use this one, and if you would like to help me. Thanks.

    Drew

    PS: email me back.

    its not a proper login, it just askes u for the name of a folder basicly, i can give u a good 1 if u want…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.