Advertise on Arun's Museum!

Advertise on this Site for less than $1 per month!!!

Please contact me @ ak_g@ymail.com !!

Search this site for content you need(;>)!!

Google
 

Protecting a Folder in WindowsXP  

Its true that microsoft named all its COM objects with a unique CLSID. This ID is responsible for any behaviorial instinct in your file system. So the trick is very simple. IF we could somehow apply this trick to change the behaviour of a folder created by you with some system defined ones, our job will be over.
To do this let us create a folder named "abc" (without quotes). Now, you need to assign something to this folder so that it could be disallowed to open... Just there is a CLSID to do that.
open notepad and write
"ren abc abc.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}" without quotes. Save the file with ".bat" extension. Let us save it as protect.bat (This is the extension of batch files) in the same location where the folder in so that it can be directly be called upon. I mean to say you need to create the batch file in the parent directory of abc. Double click on the file and your folder will be locked.
To unprotect it just change the line to this:
"ren abc.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} abc"

AddThis Social Bookmark Button


Did You Know?!

Axioms for a Great Living(My 10 Hashes):

#Don't compare yourself with any one in this world;If you compare, you are insulting yourself!

#No one will manufacture a lock without a key;Similarly God won't give problems without solutions!

#When life gives you 1000 reasons to cry,show the world that you can still find a million reasons to smile!

#Easy is to judge the mistakes of others;Difficult is to recognize our own mistakes!

#Don't care about what others think of what u do;but care very much about what u think of what u do!

#No one can go back and change a bad beginning;But anyone can start now and create a successful ending!

#If a problem can be solved, no need to worry about it;If a problem cannot be solved what is the use of worrying?!

#If you miss an opportunity don't fill the eyes with tears;It will hide another better opportunity in front of you!

#Don't complain about others;Change yourself if you want peace!(It is easier to protect your feet with slippers than to cover the earth with carpet!)

#Be bold when you loose & be calm when you win!

© 2008-2020--G.Arun Kumar.All Rights Reserved.