Dear Lady/sir,
Kindly I ask your attention.
Ad YouTube I watch a clip about a Folder Lock. You have to download the next file and save it as 'Secret.bat' and when clicking it, it will create a folder. That folder can now be looked when clicking ad 'Secret.bat'.
.bat Lines:
cls
@echo off
title Folder Locker
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
:CONFIRM
echo Are you sure you 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 the Folder :
set/p "pass="
IF NOT %pass% == HereYourPassword GOTO FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LOCK
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END
:MDLOCKER
md Locker
echo Folder created.
GOTO END
:END
PAUSE
Well, the item to use 'Secret.bat' is still in sight and can be opend and changed.
Isn't there another way of creating this, so the folder will be created around that 'Secret.bat' file and that the actions can be done when clicking the folder that has been created around that file?
And the options for unlock every time or ones unlocked till shutdown/switch user or till confirmed so?
Or,
Does someone knowns how to create a folder with these options, just by using Notepad?
If you do have the answer, please copy the .bat lines into your reply and if you like, explane the differentses that matter.
Hopefully I let you known enough and I'll be waiting for your reply!
Best Regards,
MeneerWitte
PS:
HAPPY HOLLYDAYS & BEST WISHES 2013!
Kindly I ask your attention.
Ad YouTube I watch a clip about a Folder Lock. You have to download the next file and save it as 'Secret.bat' and when clicking it, it will create a folder. That folder can now be looked when clicking ad 'Secret.bat'.
.bat Lines:
cls
@echo off
title Folder Locker
IF EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" GOTO UNLOCK
IF NOT EXIST Locker GOTO MDLOCKER
echo Folder Created.
:CONFIRM
echo Are you sure you 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 the Folder :
set/p "pass="
IF NOT %pass% == HereYourPassword GOTO FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" LOCK
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END
:MDLOCKER
md Locker
echo Folder created.
GOTO END
:END
PAUSE
Well, the item to use 'Secret.bat' is still in sight and can be opend and changed.
Isn't there another way of creating this, so the folder will be created around that 'Secret.bat' file and that the actions can be done when clicking the folder that has been created around that file?
And the options for unlock every time or ones unlocked till shutdown/switch user or till confirmed so?
Or,
Does someone knowns how to create a folder with these options, just by using Notepad?
If you do have the answer, please copy the .bat lines into your reply and if you like, explane the differentses that matter.
Hopefully I let you known enough and I'll be waiting for your reply!
Best Regards,
MeneerWitte
PS:
HAPPY HOLLYDAYS & BEST WISHES 2013!