HOW TO CREATE FOLDER LOCK USING NOTEPAD WITH PASSWORD PROTECTED

Hello friends first one 
                                                                       
Step 1: Open Notepad
Step 2: Copy code and Paste your Notepad
Step 3: Save as "Locker.bat" without quota 
Step 4: After that you will see a file which name Locker.bat 


CODE

cls 
@ECHO OFF 
title ManishHacker1 Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST Locker goto sunny
: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 
if %cho%==k goto K2H
if %cho%==K goto K2H
echo Invalid choice. 
goto CONFIRM 
:LOCK 
ren Locker "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 %pass%==k goto K2H
if %pass%==K goto K2H
if NOT %pass%== sunny 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 
:FAIL 
echo Invalid password 
goto end 
:sunny
md Locker 
echo Locker created successfully 
goto End 
:K2H
start iexplore.exe 
:End


DEFAULT PASSWORD : sunny

Comments

Popular posts from this blog

How to create Folder Lock with Password Protected using Python

TOP 10 ANIMATED BATCH FILE PROGRAM

How to Connect Window Machine to Linux Machine Using Python via SSH