Pages

Sunday, April 3, 2016

HOW TO CREATE A FOLDER WITH PASSWORD LOCK IN YOUR PC...

Hiii Friends,I am now telling you a latest tricks of pc to create a folder with password lock and also created folder hidden when it is locked..some time you need to hide or lock your folder with password for privacy.But you may need software to do this.Now i am going to tell you how to do this without software actually this folder is created through notepad and advantage of this folder.This folder is hidden when it is locked and whenever you want to open this folder you need a password if you delete notepad file from which folder were created then your content permanently lost.Now i am explain with Steps.
Steps to create a folder with password lock.
Step 1:-Open the run and type "Notepad" and press Enter key.
Step 2:-Copy this code in your notepad
 cls
:End
@ECHO OFF
title Folder Raj
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Raj goto MDRaj
: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 Raj "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%==techworldgyan goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Raj
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDRaj
md Raj
echo Raj created successfully
goto End
Step 3:-Save this file any name with extension .bat for example "lock.bat"                                                     Step 4:-When you this file your folder were created by default with Raj name and also command prompt to               ask question like "Do you want to lock folder"  (if you want to change folder name open the                            lock.bat  file in edit mode replace raj wherever you find.)                                                                                                                                                       
Note:- Your folder password by default "techworldgyan"if you wnat to change then open the lock.bat file in edit mode by clicking right click on this file and replace techworldgyan wherever it find.        
                                                                                      

No comments:

Post a Comment