Today I will show you an amazing and interesting trick to Create password protected Folder without using any extra cost software for all Windows platform. It is very easy to do you have to simply enter or paste coding in Notepad which is below in this post. It works in all Windows platform. Follow these simple steps to learn this trick.
Steps to Create Password Protected Folder:
- Open Notepad and Copy given below code into it.
cls
@echo off
title Folder Locker
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
: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 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 the Folder :
set/p "pass="
IF NOT %pass% == pchacks GOTO FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LOCK
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END
:MDLOCKER
md Locker
echo Folder created.
GOTO END
:END
PAUSE - Save the Notepad as locker.bat (.bat is necessary)
- Now open locker.bat file and press any key to continue. For first time a New Folder will be created with name Locker
- Copy the data which you want to protect to the Locker folder.
- Now double click locker.bat file and when command prompt appears type Y and press Enter.
- Now Locker folder will be hidden from your view, to access that folder double click on locker.bat
- It will ask for password enter the password and done. (Default password is pchacks)
How to keep Secure your Folder ?
You might be thinking that anyone can access the password by opening that locker.bat file in Notepad or any other text editor. To make it more secure hide locker.bat in some secure location after following the above steps. To access the secured file double click on locker.bat. I would suggest copying locker.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files.Enjoy...
Thanks for Reading
See this Video Tutorial
0 comments:
Post a Comment