Hide files in protected OS folders by
ACIDized 2011/12/21 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)
ACIDized 2011/12/21 18:16
4. double click photothumb.bat it will create a new folder called Locker automatically.
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.
To view again, double click photothumb.bat again and enter your password.
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 2011/12/21 19:07
i would rather use a ready made software auto lock than all of this work out
, by the way u struck in wrong forum
EpIcInCoGnItO 2011/12/21 20:54
Must say, very innovative this. Never heard of locking of this type. Good one mate.
TemPEST 2011/12/21 23:27
Good to knw nic share
ACIDized 2012/01/06 05:15
Quote:
chocolate.boy: i would rather use a ready made software auto lock than all of this work out

, 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.
#69
Phones/PCs/Apps
For phones, computing, consoles, gadgets, & internet talk, plus share apps & other files.