Create a private password protected folder.

Everyone has their own personal data and we  needs to protect our files folders so that instead of us no one can open that.For this we have two options, we use some third party software or we use an awesome windows notepad trick to do the same.Everyone knows to protect folders using software. 
Here I'm gonna tell you how to protect the folder using windows trick.

Follow the below steps....

  • Open a notepad & paste the following commands in it & then save the notepad as "privatefolder.bat".



Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 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 "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 key password to unlock folder
set/p "pass=>"
if NOT %pass%== key goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End


                                                                     You can give password as per you.here key is password.
  • After saving you will get a private.bat naming file. 
  • Double click on private.bat file, i will give you a folder naming Private .
  • Now you can put any of your personal data in that folder. After that just double click again on that private.bat file it will ask you to lock that folder.
  • Simply just type Y, and it will lock your folder and your folder will disappear.
  • Now whenever you want to open that folder just double click on that private.bat file and enter the password.
  • Again when you want to lock just double click on private.bat file and press Y.



Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. what is password......its asking and file is disappeared

    ReplyDelete

Post a Comment