Lock a folder without any Third Party Software


In general life, we face many times Virus problems in various Folder Locking Softwares that are available on the Internet and most of the times the Viruses included in these Softwares are undetectable with the anti-vs. So, what is the best way for locking any content/folder, which can ensure our security & ends all the possibility of any Virus Infection. Don’t bother friends, here is the solution of your problem, today i am going to show you that how can you lock your own personal content/folder without any Folder lock Software :
Just follow these Instructions :
1- Open Notepad.
2- Copy following 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 +r +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
cacls “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” /E /P Everyone:N
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 -r -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
cacls “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” /E /P Everyone:F
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

3- Write Your Password in yellow marked bold code area (Delete “type Your Password” (without quotes) and Enter Your Password).
4- Save This file as a locker.bat
5- Open this locker.bat file
6- Enter your Password.
7- You can see that new “Locker” Folder is Created.
8- Put Your Important Data in this “Locker” Folder.
9- Reopen “locker.bat” File. It’s Show message – Are u want to save this(Y/N)
10- Enter Y.
11- You can see that Your Locker Folder is Vanished.
12- To Reopen File -> Open locker.bat File and Apply Your Password.
Note : You can use any “Bat to Exe Converter” converting your own Folder Lock .bat file to an .exe executable file and make its look like any other professinal folder lock software. so, now you have your own folder lock software . . . . . Enjoy !!

0 comments:

Post a Comment