Skip to content

Hide files in protected OS folders

ACIDized · Dec 21, 2011 18:11 5 56
ACIDized OP
Dec 21, 2011 18:11
A simple trick to create a lockable folder without software! 1. Open Notepad and copy the contents of the code below. cls @ECHO OFF title Folder Locker if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Locker goto MDLOCKER :CONFIRM echo Are you sure u 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-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%==type your password here 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 :MDLOCKER md Locker echo Locker created successfully goto End :End 2. Change the password by replacing type your password here in the code with your password. 3) Save it as photothumb.bat (Note: Try to be innovative and save it in such a way that it sounds like a system file so that nobody will try to bother clicking it) image
5 replies
ACIDized OP
Dec 21, 2011 18:16
#1
4. double click photothumb.bat it will create a new folder called Locker automatically. image 5. Place the contents inside and double click photothumb.bat, it will ask whether you want to lock. Say Y and now your folder will disappear. image To view again, double click photothumb.bat again and enter your password. image Note: This trick is only to provide Privacy, so that nobody accidentally opens your private folders. It does not provide any ultimate security. Anybody can open XYZ.bat in any text editor and view the code. As I had mentioned it before try to keep this file in not an obvious place with a name that looks like a system file, so that nobody will have a chance to touch or doubt at this file. source- lytebyte
chocolate.boy
Dec 21, 2011 19:07
#2
i would rather use a ready made software auto lock than all of this work out smiley , by the way u struck in wrong forum
EpIcInCoGnItO
Dec 21, 2011 20:54
#3
Must say, very innovative this. Never heard of locking of this type. Good one mate.
TemPEST
Dec 21, 2011 23:27
#4
Good to knw nic share
ACIDized OP
Jan 6, 2012 05:15
#5
chocolate.boy: i would rather use a ready made software auto lock than all of this work out smiley , by the way u struck in wrong forum
Let me make it simple for you, just extract the photothumb file from attachment. Put it where ever you want to create that folder. Password is 2wapworld.