There are lot of ways to lock folders on computer,But in this post we sharing, How to lock/hide folder without any software. Just go through this post to know about that.This trick works in windows 8, windows 7 and xp
1. Open Notepad [Start–>Run–>Notepad].
2. Copy the below code and paste it in notepad.
In the above batch code we added password is 12345678, and you can change that password.
3. Now save the notepad file as locker.bat
4. Now a batch file will created in where you saved location.
5. Double Click on locker.bat file and you will see a Locker Folder at the same location where your locker.bat file is saved.
6. Double click on that Locker folder and store your personal data in it.
7. After storing all your data in that folder again double click on locker.bat file and press Y there to Lock the folder and press Enter.
8. The folder will be locked.
To open this folder just double click the .bat file, the system will ask to enter the password. Just type your password and Press Enter. The folder will be unlocked.
So this is very simple trick to hide or lock the files in window XP or window 7. Just you have to be careful that nobody can access the .bat file generated and can know your password.
Source:
How to Lock Folder using notepad
1. Open Notepad [Start–>Run–>Notepad].
2. Copy the below code and paste it in notepad.
cls
:End
@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%==12345678 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
In the above batch code we added password is 12345678, and you can change that password.
3. Now save the notepad file as locker.bat
4. Now a batch file will created in where you saved location.
5. Double Click on locker.bat file and you will see a Locker Folder at the same location where your locker.bat file is saved.
6. Double click on that Locker folder and store your personal data in it.
7. After storing all your data in that folder again double click on locker.bat file and press Y there to Lock the folder and press Enter.
8. The folder will be locked.
To open this folder just double click the .bat file, the system will ask to enter the password. Just type your password and Press Enter. The folder will be unlocked.
So this is very simple trick to hide or lock the files in window XP or window 7. Just you have to be careful that nobody can access the .bat file generated and can know your password.
Source:
0 blogger-facebook:
Please Comment Here