If you can lock a folder without installing any software, then there is no need to buy costly software to lock the folders in window XP or window 7. Here is very simple trick to Lock any folder without any software in window XP or window 7. The simple steps are given below:-
1.Open Notepad in your computer.
2.Copy the code given below and paste it in the Notepad opened.
1.Open Notepad in your computer.
2.Copy the code given below and paste it in the Notepad opened.
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%==PUT 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. Replace “PUT YOUR PASSWORD HERE” text given in red color above code with password of your choice.
4. Now the save this file as a .bat file having any name e.g. xyz.bat
5. Try to save this file having name like the system files. And place this .bat file in the system folders. So that everybody will think, this file is a system file.
6. Now close this .bat file. Double click on this .bat file, It will create a new folder called “Locker” automatically in the same directory as the .bat file created earlier.
7. Now place the contents you want to hide or lock inside this Locker folder. And double click on .bat file. System will ask you “Are you sure u want to lock the folder”. Type Y and press Enter.
8. The folder will be locked.
9. To open this folder just double click the .bat file, the system will ask to enter the password. Just enter your password and Press Enter. The folder will be unlocked.
10. 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.
4. Now the save this file as a .bat file having any name e.g. xyz.bat
5. Try to save this file having name like the system files. And place this .bat file in the system folders. So that everybody will think, this file is a system file.
6. Now close this .bat file. Double click on this .bat file, It will create a new folder called “Locker” automatically in the same directory as the .bat file created earlier.
7. Now place the contents you want to hide or lock inside this Locker folder. And double click on .bat file. System will ask you “Are you sure u want to lock the folder”. Type Y and press Enter.
8. The folder will be locked.
9. To open this folder just double click the .bat file, the system will ask to enter the password. Just enter your password and Press Enter. The folder will be unlocked.
10. 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.
Enjoy this Trick.
0 comments:
Post a Comment