Folder Lock

Hi folks welcome back,

In corporates and working areas people are not allowed to store unwanted files(Personal folders)

In order to maintain privacy and security i found this useful dos program in an magazine.

Simply save the following text as batch file and double click on it. A new folder named LOCKER  will be created in the

parent folder. You can use it as a brief case to store your files. If you run the batch program again,folder will be hidden.

Even if show all folder option is selected in view menu,the folder will not be shown in public. To open it again run the batch file

it prompts for a password which can be set in the code area.


title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
echo Lock 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.
ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
echo Enter Password
set/p “pass=>”
if NOT %pass%==PASSWORD 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
echo Invalid password
goto end
md Locker
echo Locker created successfully
goto End



Enjoy the privacy, Happy programming…


“Knowledge is for everyone it should be shared “


4 responses to “Folder Lock

  1. Not working with xp. Creating a new folder “Locker” but not hiding/locking it.

  2. did u check the password
    try this in line 21

    echo pw
    set/p “pass=>”
    if NOT %pass%==Credential goto FAIL

  3. Instead of using this technique,a single software with single password can secure as more data as you want,I use Folder Lock to secure and encrypt my data and can also save my data on usb drive.Its a complete security software.

  4. companies and work environment does not allow usage of third party softwaresinstalled on network computer. unless they are needed so folder locker will be identified by administrator.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s