Security plays a vital role in secure your valuable data in your PC. This can also be done by downloading folder lock software available in internet,But today i'm going to introduce a technique of creating a folder-lock . So,lets follow my instructions
STEP 1: press WIN+R & type NOTEPAD then click OK.
STEP 2: Then copy & paste the given code below on the notepad.
cls
@ECHO OFF
title computer-tricks-corner.blogspot.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%== latestupdatereviews 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: replace the latestupdatereviews with your password
Step 3: Save the file with any name .bat (here ".bat" is the extension ) eg:- tech.bat, sun.bat, car.bat
Step 4: After creating this file, when you click on that bat file it will ask you password ,when you enter your password A NEW FOLDER will generated.
Step 5: Then you have keep your personal data in that folder.
Step 6: After that if you want to lock the folder Again click on the bat file it ask you to lock the folder or not then press Y to lock.
No comments:
Post a Comment