Lock and Hide Your Folders Without Any Software

In order to secure your privacy on your pc, u might need to lock certain folders. It’ll only take a couple of steps and you’re done

The default password is “yourpasswordhere”. This is the only thing you’re gonna change in the code.

1. Copy the code below to notepad

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDCAPRIOFILES
:CONFIRM
echo Are you sure to Lock this 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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== yourpasswordhere 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
:MDCAPRIOFILES
md Locker
echo Locker created successfully
goto End
:End

2. Save this file as “locker.bat”.

3. Now double click on locker.bat.

4. It will create a folder named Locker with automatic lock. After creation of the folder, place the contents (your files & folders) you want to lock inside the Folder

6. Double click locker.bat again. It will ask to lock the folder Y/N. If you press y then enter. it will lock the folder and your folder will be hidden.

7.To unlock runlocker.bat again, it will ask to enter password, type in correct password then enter, you can see your folder back.

5. Please don’t change anything except password, otherwise this lock may does not work.

***The default password is “yourpasswordhere”. This is the only thing you’re gonna change in the code.***

avatar
Don Caprio is a full time blogger / web designer living in Nigeria and apart from blogging, my other obsession is music. I'm a self-confessed Tupac fan, an iOS lover, an Android user, a Windows 8 power user, a writer with a 5-year old unfinished novel... and the list goes on and on. You can add me on Facebook, follow my updates on Twitter or add me to your circles on ! You can as well grab my feed and get updates through email.
avatar

@doncaprio

Tech blogger at http://doncaprio.com Web designer at http://doncaprio.org
Top 5 Ways to Reduce your Blog’s Bounce Rate http://t.co/sCwot72QHP - 3 days ago
avatar
avatar

Get free daily updates through email

Comments

  1. avatar Maria Mcclain says:

    ur blog is really nice and helful for all. I just wanna suggest that u should go for blog advertising & marketing there is a website which is offering very unique features at affordable prices. There are Expert advertising teams who will promote ur blog & affiliate ads through all over the networks. All u have to do is submit your blog plus pay affordable prices and rest leave it to Advertising Team for Advertising & Marketing then see how u enjoy a lots of quality traffic plus good readers to ur blog.

  2. avatar Don Caprio says:

    Thanks Maria. I'll check 'em out.

  3. avatar John Chigozie says:

    Thanks for sharing this vital information.

  4. avatar Michelle says:

    Thank you soo much…I'm sick and tired using the trial versions so far. Btw are you sure this is safe doing..because I'm gonna have some important files up there…

    Thanks..

    Michelle

  5. Thanks maria..Seems to be very simple..but very powerful script. Thanks for sharing Maria. You ROCK!!

  6. avatar Anonymous says:

    This is nice. Thanx a lot.
    umaradun

  7. works perfectly on windows xp. but it wont work on vista. thanks anyway.

  8. i copied the same code to make the batch file.. but unfortunatly, after double clicking on it, the window created by it doesn’t stay anymore… plzzzz help :(

Speak Your Mind

*

CommentLuv badge