so i have written a c program...my question; is it possible in any way that it will execute itself whenever say a flash disk is in input or the file that contains it is opened??

Sorry Libathos, that sounds a little too virus-like/malware type programming, for me.

"Beware the Dark Side of the Force", Libathos.

I wanted only to satisfy my curiosity..nevermind i'll find out sooner or later...nice quote though