THE COCOON ™: Lock Folders Using Notepad
~ AcidFlynn Wraith ~ Inspired by ~ AcidFlynn Wraith ~

Followers

Blog Archive

Blog

29 August 2010

Lock Folders Using Notepad

Have you ever wondered if it is possible to Lock Folder using Notepad?
Well yes it is possible to Lock Folder Without Any Software. This method works fine in Xp/Vista and hopefully upper versions of windows.
Please don’t use this method if you are unsure what you are doing, I am not responsible for any damage caused by use of this, though it won’t occur if you follow my steps correctly.
Here we start:
Open Notepad from your Start -> All Programs -> Accessories -> Notepad
notepad
01. Copy and Paste the below code in Notepad and Save it as FolderLock.bat
cls
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” 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-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
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-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
folder locker
bat file
02. Now Double Click that new Batch file named FolderLock and it will make a new folder named Locker in the same location:
bat file
bat file
Now put the Data Inside the folder Locker and again Double Click the Batch file to Lock it, this will give you a prompt, just Type y and press Enter:
bat file
To Unlock the Folder just double click the Batch file again and type y and press Enter.
Now keep the Batch File named FolderLock.bat in a different place like your USB Pen Drive so that only you can access the Folder you have locked.
Hope this helps. If you have any question or doubt, please leave a comment and I will get to you as soon as possible and will help you to best possible way.

0 EDITOR COMPLAINING:

Post a Comment

DON'T LET THE NOISE OF OTHER OPINIONS DROWN OUT YOUR OWN INNER VOICE AND MOST IMPORTANTLY, HAVE THE COURAGE TO FOLLOW YOUR HEART AND INTUITION ™

Popular Posts

Follow by Email

Google+ Followers

Total Pageviews

My Blog List

Search This Blog

PING

Blogged.my Blogged.my
Best View Resolution 1280 x 1024 [RECOMMENDED]
Donate Here