karachidude Posted September 24, 2009 Share Posted September 24, 2009 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 :End3- 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 iconsURLhttp://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html?tag=mncolMake 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 HereURLhttp://commons.wikimedia.org/wiki/Category:Lock_iconsNote:if you forget the password you can edit the bat file with notepad and find itcheers :D K'dude Link to comment Share on other sites More sharing options...
spootnack Posted October 19, 2009 Share Posted October 19, 2009 I'll try.Thanks.++ Link to comment Share on other sites More sharing options...
majithia23 Posted October 20, 2009 Share Posted October 20, 2009 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 More sharing options...
Jota.Ce Posted October 20, 2009 Share Posted October 20, 2009 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...) xDDDDI'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 xDPS: 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 More sharing options...
neverthelesshello Posted September 14, 2010 Share Posted September 14, 2010 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 More sharing options...
kagz Posted May 5, 2011 Share Posted May 5, 2011 cool! i tried and amazed..jota you're the man! :dance2: :dance2: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.