Folder Lock without software

Status
Not open for further replies.

MeneerWitte

Honorable
Nov 27, 2012
333
0
10,860
Dear Lady/sir,

:hello:

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-08002B303­09D}" 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-08002B303­09D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­09D}"
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-08002B303­09D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­09D}" 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. :eek: :pt1cable:

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? :D

Or,

Does someone knowns how to create a folder with these options, just by using Notepad? :D

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! :D

Best Regards,

MeneerWitte

PS:

:D HAPPY HOLLYDAYS & BEST WISHES 2013! :D
 
That is NOT locking the folder; it is simply changing the attributes to hidden and system, and the folder can still be seen depending on your explorer settings.

You cannot really lock a folder without installing software.
 
Status
Not open for further replies.