How to Create an AutoRun File

Many of us these days burn our own CDs for various reasons, and sometimes you may want that CD to begin a program automatically when you insert the CD – just like the CDs you would buy at the store. This is very easy to do. The Autorun feature of Windows is based on a file on the CD called autorun.inf. Windows simply searches for that file which tells it which program on the CD to run automatically, and Windows (usually) dutifully complies. So, to make your own CDs autorun, you simply need to creare your own autorun.inf file. To do so, open your favorite text editor (Notepad will do) and enter two lines:

[autorun]
open=filename.exe

where filename.exe is replaced by the name of the program on your CD which you want to run automatically. Save this file as autorun.inf and place it on your CD when you burn it.

There are more complex options available to to from autorun files, and you can even use third-party autorun creation programs to allow you to create more complex ones with little hassle. Moon Valley Software puts one out and so does KarenWare.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: