This tutorial will teach you how to make a simple Folder Locker without using any third party software. The only things we need is the codes that I provided below and a piece of notepad. This Folder Locker is only working on a Windows Operating System, I've already tried it in Windows XP, 7, 8 and my classmate says it's also working on windows Vista. This tutorial will not harm your computer so relax and just follow the steps.
Step 1. Just create a new folder.
Step 2. Inside the folder, create a notepad or Text Document.
Step 3. Open the notepad and paste all the code given below.
: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private "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%== password151 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End
Step 4. After you copy and paste the code find the word "password151" and change it with any password you like. You can see above the word "password151" with a color red, change it.
Step 5. If you have already done in changing the password just save it with the file name "Locker.bat" the important there is the extension ".bat".
Step 6. Now go to the folder you created previously you can now see a file with the file name LOCKER.
Step 7. Double click the LOCKER and you will find another folder with a filename private.
Step 8. Cut or Copy all the files you want and paste it in the private folder.
Step 9. Double click again the LOCKER, after that a command prompt will appear and asking you if you want to lock the folder, just type Y for yes and N for no. Now the private folder now will disappear.
Step 10. If you like to open the private folder again just open the LOCKER and put your password.
Update: If you have forgotten your password of your Folder Locker or someone already knows it you can easily change your Folder Locker password by editing the codes. Just simply right click the LOCKER file and choose edit to open it in notepad.
Note: The only problem with this trick in making Folder Locker is when someone knows this trick too, but, there is another way to lock a file this is by making password protected WinRAR file.
That's all, you have now Folder Locker. On the following day I will provide more interesting tricks and tweaks so don't forget to subscribe to this site.
0 Comments