Saturday, June 19, 2010

How to protect a file or folder

::~Instructions are with ::~ to start with them.

Open Notepad

::~Then put in the code below.

@Echo off
cls
:Password
Set input=
set /p input= Password (input then press enter) :
if %input%==mastahhaxor goto YES
if not %input%==mastahhaxor goto NO

:YES

Start MSpaint.exe
Exit

:NO

Echo INCORRECT PASSWORD
goto Password

====================

MSPaint = file or program

Mastahhaxor = password

::~Change the MSPaint and the MSPaint.exe to whatever file you want to put a password on.

::~Change the Mastahhaxor everywhere to whatever you want the password to be at.

::~Then save as the programs name and then .bat

No comments:

Post a Comment