How To Autorun Programs From USB Flash Drive

Like we have autoplay feature on CDs, it’s possible to autorun programs and applications from your removable USB flash drive, provided you use it on Windows XP SP2.

Here’s a quick guide on how to autorun portable applications from your USB drive.

1. Open Notepad
2. Type in:
action=Run PStart Program
label=My Portable PC
3. Save the file as autorun.inf
4. Put the file in the root of your USB flash drive
5. The next time you insert your removable drive into your PC, the specified program will autorun from the USB drive

Here are some important notes on what the autorun.inf file contains:

The open option specifies the program that should autorun. You must use relative paths here. Do not specify the drive letter since it may vary from PC to PC.

action=Run PStart Program
This describes the action that will be performed. This parameter is used by Windows Explorer in the autoplay dialog.

Specifies the icon to be used for the USB drive. The icon can be fetched from an .EXE file or it can be in the normal .ICO format. (more on changing icons here)

label=My Portable PC
The label parameter can be used to specify the name of the drive.

Previous How To Clear Your Memory Without Restarting
Next How Do You Reformat a USB Flash Drive?

No Comment

Leave a reply

Your email address will not be published. Required fields are marked *