Friday, 28 February 2014

HOW TO LOCK YOUR FOLDER USING NOTEPAD


Really you can lock folder using batch files. So Lock everything.......
Step 1: Open Notepad
First of all open Notepad
Step 2: Copy and Paste
Just copy and paste it to the notepad
@ECHO OFF
title lokendra's-hacking-ideas
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== Hello1goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End


























Step 3: Save It

Now save it as locker.bat
your saved file will look like this -
 














Step 4: Open That
Double click on locker.bat file
A new folder named "MyFolder" will be created.
Now move your all content to this folder.
Step 5: Lock
Done. Double click on locker.bat file and it will ask you for locking folder. Type y and hit enter.
Refresh and your folder will disappear means locked.
Step 6: How to Open
Double click on locker.bat File and now it will ask for password.
By default the password is Hello1. Enter it and your folder will appear.


No comments:

Post a Comment

Drop your comment is highly appreciated