Make a password protected folder without any software.


To make a password protected folder you just need to follow these simple steps :


 Copy this given code in a notepad and save it as a .bat extension .



Now you will see a folder after clicking on this file (which is your private folder).



Copy all your data in that folder and lock that folder by opening this .bat extension file.


cls
@ECHO OFF
title Hackersfall
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%== YOURPASSWORD 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

Note: Enter your password in the place of YOURPASSWORD (as in the coding below in red colour).


  You're all done, Enjoy ..!!..

If you have any doubts, contact us. 

Comments

Popular posts from this blog

URL Shortener Websites

Best Android Racing games.