Tips & Trix
Using and Testing Autorun.inf

Home
PUBz
Grafx Pax
Tips & Trix
Neo-Linx
Neo-Talk
Neo-Filez
Search NeoDezign
 
 
 

 


By now everyone has probably seen Autorun in action. When you insert a CD Windows auto-magically starts a program on the CD. 

Autorun.inf is a simple text file that looks alot like an .ini file. It usually looks something like this:

[autorun]
open=filename.exe

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!