How To Lock Folder Without Software

How To Lock Folder Without Software
There many software to lock folder and drive but if you can not able to install software there are many methods to lock folder one of i provide you its good and easy to use hope you like lats start
folder locked How To Lock Folder Without Software
  • Open Notepad [Start--Run--Type here Notepad and hit enter from keyboard].
  • In your Notepad just Copy/Paste the below code :- 

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%==type 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

    • In the above batch code the password has been set as kamlesh. You can change it by editing the following line
    if NOT %pass%==kamlesh goto FAIL
    Now save this notepad file as yourfoldername.bat ,here .bat is extension of your file. For now I am creating kamlesh.bat file.
    • Now a .bat (system) file will be created.

    • Double Click on this .bat file and you will see a Locker Folder at the same location where your .bat file is saved.
    pokit d0cffa36e832b65fe145a6e9360bda83 How To Lock Folder Without Software
    • Double click on that Locker folder and store your personal data in it.
    • After storing all your data in that folder again double click on .bat file and press Y there to Lock the folder and press Enter.

      • Now your Locker will hide and only .bat file will be there.
      • Double Click on this .bat file and give your password (here kamlesh) and hit Enter.
      Thats it. Now every time you want to open your secret folder you have to enter the password. You can update this folder any time and infinite number of times. If any thing wrong then recreate .bat file with same password.


      Second Method :


      Copy and paste the code given below in notepad and 'Save' it as batch file (with extension '.bat'). You can put any name.



      Now you see a batch file. Double click on this batch file to create a folder locker. New folder named 'Locker' would be formed at the same location.



      Now bring all the files you want to hide in the 'Locker' folder. Double click on the batch file to lock the folder namely 'Locker'. If you want to unlock your files,double click the batch file again and you would be prompted for password. Enter the password and access the folder.


      Code :



      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%==type 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


      Note : This method works only in Windows XP. In Windows 7 it will hide your folder only. 


      0 comments:

      Post a Comment

      Share