How to hide data in windows 7 folder or how to lock windows 7 folder

Hi all of you today I will tell you how to lock windows 7/vista folder without any software. Follow the steps:


1) Open the notepad


2) Paste the following code in it 



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%==passwordhere 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) You can put your password in the place of passwordhere in the above code.


4) Now save file as XYZ.bat


5) Click on the file "XYZ.bat". it will ask to enter the password.type your password and press enter.



6) You will see a new folder named "Locker" is opened.






7) Put your data in the locker folder.


8) now again click on the XYZ.bat .Now it will ask you do you want to lock the folder or not? Press y and then press enter.






9)Your data is hidden. Folder is locked.Whenever you want to see your data repeat the step 5.



Share on Google Plus

About Kiran Manchekar

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

5 comments :

  1. Nice! But I do have a question, what if someone deletes the XYZ.bat??

    ReplyDelete
    Replies
    1. If anyone delete the XYZ.bat file then also the data will be present in the hidden form.It will not delete the saved filesin the locker folder.Now if anyone delete the bat file then create another XYZ.bat file and put it in the same location where the deleted bat file was present.Then again open bat file and enter the password. you will get the locker folder as it is with your saved data.

      Delete
  2. But anyone can right click on XYZ.bat file and see you password ...LOL

    ReplyDelete
  3. why does it says 'access denied' when i want to lock my folder?

    ReplyDelete