Breaking News
Loading...

Lock a folder without any Third Party Software with simple batch file

11:41 pm





This post will help you to know some basics in batch programming.

Here you can hide a folder with out any third party software with some small set of batch codes.

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

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 +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%==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

:End


3- Write Your Password in red marked bold code area (Delete type Your Password and Enter

Your Password).

4- Save This file as a locker.bat

5- Open this locker.bat file

6- You can see that new “Locker” Folder is Created.

7- Put Your Important Data in this “Locker” Folder.

8- Reopen “locker.bat” File. It’s Show message – Are u want to save this(Y/N)



9- Enter Y.

10- You can see that Your Locker Folder is Vanished.

11- To Reopen File -> Open locker.bat File and Apply Your Password.


Now you can see your Locker Folder and you can see your data.

Enjoyyyyyyyyy........

 
Toggle Footer