In My previous post, I wrote about the list of run commands. Here this post is about the solution of this problem, which is asked by many- “how do i password protect a folder on desktop or windows without any software?”. This is one of my favorite trick to hide my login details of facebook, wordpress, gmail etc. 😀 You can also hide games, movies etc here! Its very easy to do. It does not require any skills…:D This trick is gonna work on Win XP and Win 7 Only.
How Do I Password Protect A Folder?:
1) Open Notepad and paste the below code ->
cls
@ECHO OFF
title SilentPoints.com
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder “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 Your Secure Folder
set/p “pass=>”
if NOT %pass%== SilentPoints goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
2) Now Save the notepad file as SilentPoints.bat or anything (but the extension must be .bat)
3) Now double click on SilentPoints.bat and then you will see a new folder being created with name MyFolder.
4) Drag your files or move (Cut-Paste) your files to that folder (MyFolder).
5) Now, open the SilentPoints.bat file and then type Y.
6) Done! now you can’t see the folder named – MyFolder in its original place.
How To View That Hidden Folder?
As you have successfully hidden the folder, now its time to know – how to make it appear? That’s simple!
- Open the SilentPoints.bat file.
- Enter the password SilentPoints.
- Done! The folder is visible now! 😀
Like this, you can now Password Protect Folder On Desktop. ENJOY!
TIP 1: You can change the password by editing that code. As you can see the blue colored word SilentPoints, cut it and type your desired password….
TIP 2: I recommend you to hide SilentPoints.bat in some secure location after following the above tutorial because other user may delete that file or mess up with it..The best way is to keep that file in your pendrive. 😀 Whenever you want to access that file, just plug in your pendrive, enter the password and then open it.
So, this is the answer to the question on “how do i password protect a folder”. Hope it helps…:D Comment below if you have any probs. I will reply you asap…