Just follow the following instructions
Open notepad
Copy this to notepad:
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD
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
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==Type_your_password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD
ren "Control Panel.{21EC2020-3AEA-1069-A2DD
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
type the password in place of "Type your password" in the file
and then save as lock.bat
Now click on lock.bat file it will make a foler with name Loker then copy your data in this folder and then agin click on lock.bat it will hide.
if you want to see your data then again open lock.bat file and type your password then it will show your data.
0 comments:
Post a Comment