Anti-Theft of Pen drive

Hai all......

I tend to forget things like i often forget my pen drive and it has lead to losing it completely.so wat i decided is to write a small code say en exe file and store it in the pendrive....

as soon as the pen drive is plugged in any system this code runs and gets information like name of the current system,it's ip address,date,time and sends these details to my mail id automatically....

so that i can have a track in my mail that where n wen was my pendrive was last plugged in....

ISSUES FACED:
1)plugged in system should have internet connection.
2)this exe file gets deleted as soon as the pen drive is formatted.

If both these issues been solved then we could use this idea n program to save our pendrives.....

Please do comment on this idea.....