Pages

Friday, February 18, 2011

Make folder password protected without any software

Follow these instruction.

1. Open Notepad and copy the code below
2. Change your password in the code it's shown the place where to "type your password here".
3. Save file as locker.bat
4. Now double click on locker.bat
5. I t will create folder with locker automatically for you. After creation of the locker folder, place the contents you want to lock inside the locker folder and run locker.bat again .

<---The code, copy the whole thing---->

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303… goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303…
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303…
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303…
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303… Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End


Yeah, you can save you private data for free but here the catch, you can edit your password by right clicking the bat file and select "edit". In order to prevent someone changing your password, try change the file name and extension such as "system.dat".

Hope my answer is helpful to you..

N-joyyyy

0 comments:

Post a Comment