How To Password Protect Any Folder Without Using Any Software ?
Hi guys: In this tutorial i will show you interesting and usefull trick how to password protect any folder without any software.This trick will work on all windows platform (Win XP, Win 7,linux,etc).Follow My steps one by one.
Lets Start
1. Right click on Desktop goto new and select Notpad.
2. Copy this code given right below.
cls @ECHO OFF title Folder Private if EXIST "HTG Locker" 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 "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto End :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%== PASSWORD_GOES_HERE goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End
3. After the past code save notpade file as Locker.bat.
4. Now when you double click on locker.bat name folder now creat a new folder be name of My Folder.
5. copy all data that you want protect and paste in that Myfolder.
6. Now double click on locker.bat and when command prompt appears Type Y and press enter.
7. Now MyFolder will be hidden from you view, to access that folde double click on locker.bat
Alternative Way
There is second way to protect any folder without using any software in windows XP or windows 7 is very simple and fast way.Just follow my steps,
1. You hard drive must be formatted using NTFS file system.
2. Right click on your folder that you want protect then go to properties of this folder.
3. Then click on sharing tab and check the box which says make this folder private.
4. Then you click on the apply button and your account is not protected with password then a new window will be show you for password protect that folder.
0 comments: