Lock Folders Using Notepad


Have you ever wondered if it is possible to Lock Folder using Notepad?

Well yes it is possible to Lock Folder Without Any Software. This method works fine in Xp/Vista and hopefully upper versions of windows.

Please don’t use this method if you are unsure what you are doing, I am not responsible for any damage caused by use of this, though it won’t occur if you follow my steps correctly.

Here we start:
Open Notepad from your Start -> All Programs -> Accessories -> Notepad

01. Copy and Paste the below code in Notepad and Save it as FolderLock.bat

title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
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.
ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
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
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End

folder locker
bat file

02. Now Double Click that new Batch file named FolderLock and it will make a new folder named Locker in the same location:
bat file
bat file

Now put the Data Inside the folder Locker and again Double Click the Batch file to Lock it, this will give you a prompt, just Type y and press Enter:
bat file

To Unlock the Folder just double click the Batch file again and type y and press Enter.

Now keep the Batch File named FolderLock.bat in a different place like your USB Pen Drive so that only you can access the Folder you have locked.

Hope this helps. If you have any question or doubt, please leave a comment and I will get to you as soon as possible and will help you to best possible way.senyum


  2. Bariski April 6, 2009
  3. Web hosting reviews April 6, 2009
  4. Bariski April 6, 2009
  5. Blogger Styles April 6, 2009
  6. Bariski April 6, 2009
  7. Free T Shirts April 6, 2009
  8. Bariski April 6, 2009
  9. linkuri April 10, 2009
  10. Anonymous April 10, 2009
  11. Bariski April 10, 2009
  12. linkuri April 10, 2009
  13. Bariski April 10, 2009
  14. Anonymous April 10, 2009
  15. linkuri April 11, 2009
  16. Anonymous April 27, 2009
  17. Anonymous May 22, 2009
  18. Anonymous June 8, 2009
  19. Hosting-ASAP "Web Hosting" June 11, 2009
  20. Panca June 19, 2009
  21. Itomo July 2, 2009
  22. saurabh November 30, 2011
  23. anepFIDODIDO January 18, 2012
  24. Faid January 31, 2012
  25. Faid January 31, 2012
  26. Faid January 31, 2012
  27. shashi nitave February 5, 2012
  28. Jay April 9, 2012
  29. Hussain April 10, 2012

Leave a Reply

Your email address will not be published. Required fields are marked *