!! Lock Any Folder With Notepad !! 04-16-2012, 02:25 PM
#1
Hello HackCommunity.com Members
Today In This Thread I Gonna Show You How To Lock Any Folder with Notepad
This Trick Will Work On Windows Xp/Win Vista/Win 7 And I Hope It Will Work For New Windows Also
OK Now Just Follow These Steps
1) Right Click On Your Desktop Click On New > Create A New Note Pad
2) COpy The Code And Paste Into Notepad
Now Click On File>Save As>FolderLock.bat
After That Double Click On new Batch file named FolderLock and it will make a new folder named Locker in the same location:
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: , File get locked
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.
To Unlock the Folder just double click the Batch file again and type
And Press Enter
Note:=Some Time It Will Not Work On Desktop So Please Use It In Drivers/Partitions
Today In This Thread I Gonna Show You How To Lock Any Folder with Notepad
This Trick Will Work On Windows Xp/Win Vista/Win 7 And I Hope It Will Work For New Windows Also
OK Now Just Follow These Steps
1) Right Click On Your Desktop Click On New > Create A New Note Pad
2) COpy The Code And Paste Into Notepad
Code:
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
:EndNow Click On File>Save As>FolderLock.bat
After That Double Click On new Batch file named FolderLock and it will make a new folder named Locker in the same location:
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: , File get locked
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.
To Unlock the Folder just double click the Batch file again and type
Code:
YAnd Press Enter
Note:=Some Time It Will Not Work On Desktop So Please Use It In Drivers/Partitions
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)
Thanks For Reply