Hack Forums

Full Version: PassWord Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello (:
heres a script to insert b4 all your batches(ur gona have to use this)
edit the PW before putting it in lol
Code:
@echo off
color a
cls
:pwset
echo Password
set /p pw
if %pw%==password goto :pass
:fail
msg* Incorrect
pause
goto :pwset
pause
:pass
echo Welcome !
pause
Very simple. And I've used it before. Oui

Nice post.


And guess what!!!!!! : This is my 1500th post!!!!!!!!!!!!!!!!!!!!!!!!!! Yeye Yeye Oui Oui Biggrin Oui Oui Yeye Yeye
set /p pw=
or
set /p pw=password:

the "=" is important
nice...simple
This:

Code:
if %pw%==password goto :pass

Should be like this:

Code:
if '%pw%'=='password' goto :pass

And you forgot to put a space between the msg and the *
it's not the new one
but thanx anyway
Itlar,the ' are not necessary.But the space is.
Although the ' do make it look neater Oui
very nice i always make batch files to torture them. :d
for this password script to be usefull, you will have to compile it to a .exe
because if you don't, and i can't get in, i'd just well....eh....right-click and "edit" and find the password in less than two seconds. or just get rid of the code.

:D lol, i'm just reiterating the point of the converter he offered.
Pages: 1 2
Reference URL's