Shortest way to create a locker folder in windows at an instant

Step 1 : Right click inside the folder where the files you want to protect are located . Select New  from the  contextual menu. Click on  Text Document.

Step 2 : Now open that text file

Step 3 : Now paste the below text/code into the document.


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
ser/p "pass=>"
if NOT %pass%==Your Password Here goto FAIL
attrib -h -s " Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
reb "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker


Step 4 : Find where it says "Your Password Here" in the document.

Step 5 : Relace " Your Password Here" with the password you want to lock the folder with.

Step 6 : Now click on File menu in the upper left corner. Select Save As.

Step 7 : Now in the Save as type: option, click "Text Documents (*.txt) " and select " All Files "

Step 8 : Change the file name to " FoldetLocker.bat " and save the file.

Step 9 : Now a folder is created in the required folder . Double click FolderLocker , The Locker folder has been generated!

Step 10 : Move all the files you want to protect to the Locker folder

Step 11 : After moving all the files go back to the folder "FolderLocker" and run that  folder.
Now a cmd will open and it will ask:
Are you sure u want to Lock the folder(Y/N)
Type Y into screen and click enter

Step 12 : To unlock your folder double click "FolderLocker" to open it and then type your password that you entered in Step 5 and click Enter.

Comments

Popular posts from this blog

CS50 IDE (Best Platform for coding Online/Offline)

Best Apps to do Programming on Android Platform.

Top Websites That Will Teach You Coding For Free