Aug8th2008

LostDrive-Add lost message to you usb drive

LostDrive-Add lost message to you usb drive

http://www.dailycupoftech.com/have-your-lost-usb-drive-ask-for-help/

I then got thinking that the USB drive has a lot of storage space. I could easily fit an entire novel on the drive. A “Send Me Home” message should be simple.

I figured that if I created a text file with instructions on how to return the drive on the drive root, the finder would probably be able to open it and read the instructions.

But what do you call the file? “Readme.txt”, “Help! I’m Lost!.txt”, and “Reward If Found.txt” all came to mind but there was nothing that really grabbed your eye. People often gloss over and ignore text files.
Hey! Over Here! Look at Me!

I figured I needed to do something to catch the finder’s attention. Suddenly, I knew what I had to do. I fired up SciTe and came up with two files that promised to not be missed.

The first file is an AutoIt script that I later compiled into an executable. The script was relatively simple and just provided instructions for how to get the USB drive back to me along with an incentive. The script is below.
[syntax,Help!.au3,AutoIt]

The second file was an autorun.inf file. If you have done some work with CD’s, you may be familiar with this file. It essentially tells the computer what to do when the USB drive is put into the system or if someone double clicks or right clicks on the drive icon.

I created the following autorun.inf file.
[syntax,autorun.inf,]

0 Responses to “LostDrive-Add lost message to you usb drive”


  1. No Comments

Leave a Reply




Syndicate

Xobni outlook add-in for your inbox

Categories

Archives