I'm working with some U3 flash drives, trying to make a little payload for use on my primary flash drive. I've got a nice little batch file set to autorun from the CD partition which:
Checks to see if it's plugged into a computer that's not mine
If it is, pop up a dialog box with (e-mail address 1) and increment a counter file
If the counter file shows this is the 3rd time it's been plugged into a foreign computer, format the flash drive
If the flash partition has already been formatted, switch the pop up message to (e-mail address 2) so I'll know that my drive nuked itself before they decided to return it.
The only problem is that the format never works. I've tried FORMAT in the batch file, and a couple of portable multi-pass secure delete programs and gotten nowhere. Could anyone suggest a program that formats a drive with no prompts? Command-line input would be fine, but an INI file would be problematic since it'll be stored on the CD partition.
Thank you.