Sorry if this is a bit below this forum's normal IQ level, but here goes:
While writing an Autorun.inf file for a CD, how do I test it, without burning a CD? MSDN doesn't seem to cover that part. I never get it right on the first try!
I navigate to its working directory all the time. It doesn't run. Windows searches for - and runs if it finds - the Autorun when a removable media is inserted. Is there any way to "trick" that process?
Try "burning" your CD as a USB drive, like a thumb drive. It is also removable media and will execute the autorun.inf that is in the root directory as soon as it is inserted and mounted.
I've been fighting with this as well, but for a different reason. I use computer labs all the time, and like to listen to music from my usb drive. WinXP doesn't seem to run autorun.inf files from usb drives, or any removable drive for that matter, just dvd and cdroms.
Just a thought, but I'm willing to bet most school computer labs would heavily frown upon ANY media with files the computers will automatically run on insertion. Viruses spread all too easily using those methods...