3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to make an Autorun.inf File

Step 2A More Complex Autorun

A More Complex Autorun
If you want a USB drive that actually does something when you plug it into a computer, then this is the step for you.

Type the following into Notepad or Notepad++:

autorun
icon=NAME.ico
label=NAME
open=FILE.EXT
action=ACTION NAME

This is a short explanation of the new stuff you just typed:

open: Duh. This will open a file that you choose. If that file is in a folder, you would type the following:
open=.\Folder\File.ext

action: This is what you want the option to be called. If you remember, the option's name on the first page was "Heal People". Refer to the picture to see what I mean.
« Previous StepDownload PDFView All StepsNext Step »
10 comments
Jul 26, 2011. 1:34 AMpfouquet says:
Here is my auto run,
[Autorun]
Icon=usb.ico
Open=Portable Apps\StartPortableApps.exe
Action=Start PortableApps
Label=PierreFouquet

although i cannot open the program with it,
my usb is on my F: drive, and the dir of the files is correct, i have made sure, whats wrong?
Mar 23, 2012. 3:26 AMjverhaaf says:
Simple to explain,

An autrun file has been created for optical drives like cd-roms and dvd-roms. These days these files are still used to install applications from optical drives and are autrun files on flash drives used only to show manufactorers icons.
Jul 26, 2011. 4:11 AMpfouquet says:
the problem is windows 7, they took the (they being MS) fuctionality out, for security reasons, i am running it currently, so if you have Win7 you can use autorun, Vista n XP still can
May 9, 2011. 1:51 AMjwish13796 says:
my autorun wont let me open files
Jul 26, 2011. 4:10 AMpfouquet says:
the problem is possibly windows 7, they took the (they being MS) fuctionality out, for security reasons
Jun 26, 2011. 2:26 PMjmarri says:
Mine won't either. :/ ???
Jul 26, 2011. 4:10 AMpfouquet says:
the problem is possibly windows 7, they took the (they being MS) fuctionality out, for security reasons
Jul 24, 2011. 2:21 PM______ says:
The problem is once you have made the autorun.inf file, pull your drive (like a flash drive) out of the computer and stick it back in.
Jul 26, 2011. 4:10 AMpfouquet says:
the problem is possibly windows 7, they took the (they being MS) fuctionality out, for security reasons
Aug 15, 2011. 7:20 AM______ says:
Not on mine they didnt, so maybe it is your computer, they took it out on.
Dec 16, 2008. 11:09 AMUnit042 says:
Nice 'ible. Short, simple, and to the point. I'm definately doing this for my brothers, who have USB thumbdrives. (It's a pain to open My Computer, then open the thingy to do the stuff of inspeficifity)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
41
Followers
6
Author:Crazy Leprecaun