×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Autorun.inf

Autorun.inf

Autorun.inf

(OP)
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!

Thanks

STF

RE: Autorun.inf

Could you put it in a normal directory (c:\temp) and activate it by navigating to that directory?  Just a thought....

RE: Autorun.inf

(OP)
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?

STF

RE: Autorun.inf

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.


--
pansophic

RE: Autorun.inf

could you put your autorun on a floppy disk and see if it executes when you open that drive?

RE: Autorun.inf

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. http://msdn.microsoft.com/library/default.asp?url=/libr... talks about DRIVE_REMOVABLE disabling autorun. So if anyone knows a way to get some kind of autorun working on usb drives, I'd really appreciate it.

RE: Autorun.inf

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...

RE: Autorun.inf


Open a DOS prompt. Create a virtual drive with..

    C:\SUBST L: C:\ReleaseTest

This will create a drive with a label "L". You can see it in win also. To delete vir.drv just type "SUBST L: /D" in dos prompt.

Hope this helps.

PF   J

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources