Jump to content

How To Lock a Folder and Hd With No Apps.


karachidude

Recommended Posts

How to lock a folder

1- make a new folder ( name it as you like )

2- inside this folder make a (.TXT ) file & copy the following inside it.

Code

@ECHO OFF 
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
: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 Private "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 folder
set/p "pass=>"
if NOT %pass%== password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

3- After u copy the command go to line ( 23 ) u will find "password here"

Change to any password u want.

4- After that, save it as locker.bat (the txt file will change to an application file)

5- Now go back to the folder & u will find a this locker.bat file.

6- Click on it & u will find a new folder called Private.

7- Now copy what u want in it & after that go to locker.bat by clicking it, it will open and ask you if you want to lock your folder? Y/N ?

8- Type Y

9- If you want to UNLOCK your folder, go open locker.bat & type your password and the Private folder will be made visible again.

Download this bat to exe converter as it lets you make exes as administrator and add icons

URL

http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html?tag=mncol

Make a backup of your bat script to your computer then add it in the bat to exe converter and you can change the icon and copy the exe to drive or folder and not the bat

Download Lock Icons For Exe File Here

URL

http://commons.wikimedia.org/wiki/Category:Lock_icons

Note:if you forget the password you can edit the bat file with notepad and find it

cheers :D

K'dude

Link to comment
Share on other sites


  • 4 weeks later...
  • Replies 5
  • Views 2.4k
  • Created
  • Last Reply

hey thanks dude .

this is a good one ,

just the one i hv been looking for ! B)

the .bat file not only does hides the folder ( with your private content ) but also password protects it !

this is stealth with panache :ph34r:

keep up..

Link to comment
Share on other sites


It's great to know... any folder called "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" will drive me to Control Panel folder.

But as i always have sight of hidden/system files, i can see it. I only can't enter the real contents until i rename to another thing, which is not bat at all. I mean, no password needed in my case, just renaming.

In fact you can use whatever name you want (maintaining that CLSID extension)... for example: Pr0n-a-lot.{21EC2020-3AEA-1069-A2DD-08002B30309D}

In fact, it works with other CLSID extensions depending where you want to go when double-clicking it (nVIDIA Desktop Explorer, Network places, My PC, Printers and faxes, Recycle bin...) xDDDD

I'll stick to MyPC CLSID (this one: {20D04FE0-3AEA-1069-A2D8-08002B30309D}) to redirect people to a better place than Control Panel.

But it's great to know xD

PS: You have to try this one xDDDD Create a folder called PXrX0Xn.{59031a47-3f72-44a7-89c5-5595fe6b30ee}, that folder won't have any strange icon, you can't enter that folder, it won't redirect/drive you to any other folder... but unfortunately it can be renamed or erased if you see it. This one is really cool.

PS2: This is in my computer, where i don't have any shared file/folders.

Link to comment
Share on other sites


  • 10 months later...
neverthelesshello

hmm I can look inside the folder with Total commander! however if you want to open a file inside like a txt file or view a jpg you cant. Still you can see what they are called etc

Link to comment
Share on other sites


  • 7 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...