Source language: Translate to:

Autorun Floppy Diskette

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

Autorun Floppy Diskette

Postby Jim Brammer » Thu Feb 07, 2002 3:30 pm

Testing an Autorun.inf file can be a real pain. It is ridiculous to burn a CD just to test an Autorun. There is a solution.

Edit the registry and make Floppy Diskettes autorun-able!  
Run Regedit.exe and move into the path shown below:

HKEY_CURRENT_USER\  
  Software\
     Microsoft\
        Windows\
           CurrentVersion\
              Policies\
                 Explorer\

Backup this key in case something goes wrong. If you need to restore this key just double-click on the backup file you've made.

Now, right-click on "NoDriveTypeAutoRun" and select Modify. By default this value is set at 95. By changing this to 91 we are telling Windows that it is okay to Autorun other drives. Namely, the Floppy Disk Drive.

Next, put an executable file on a Floppy Diskette. (Sometimes our Neo-apps are larger than a diskette will accommodate so, you might consider making another .exe for testing purposes and give it the same filename as your actual program.)  Then, create an Autorun.inf file on the diskette that points to your executable file. Move up to the "My Computer" level in Windows Explorer, double-click on the A: drive and your program should start!
Jim Brammer
 

Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: No registered users and 0 guests