O!!! Yes You can Set Password To your particular Folder And Also You Can Hide It!!!
Just Paste this in Your NOTEPAD
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
: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 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 folder
set/p "pass=>"
if NOT %pass%== pass 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
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Here pass is Your Password You Can change it(In Red Color Above)!!
Goto:
File-->Save as-->
And Name It With .batExtension
For e.g.
Secret.bat
Private.bat
Close It
Just Run It!!!
It Will Create a Folder Named Locker
Copy Your Important thing in it and
Just run Secret.bat File Again
To Unlock Run Secret.bat It will Prompt for password
BUT A PROBLEM!!!
By Changing the Extantion .bat to .txt
Anybody can See Your Password!!!
Solution:
► After Locking Your Personal Folder Change the Address Of secret.batFile
i.e.Just Move it To an Another Location!!!
► For Unlock Just Place it Back to It's Original Location And Run It!!!
No comments:
Post a Comment