Autorun with "flash drive"?

H

Hurricane Boy

Hi,

I have a USB flash drive that I carry between my home PC and 2 or 3
PCs at work. Whenever I plug in the drive, it is always to use a specific
Excel file and a specific Outlook .pst file. Is there any way to set up an
autorun.inf file to automatically launch these files whenever I plug in the
drive?

I've tried writing an autorun.inf file and storing it on the root directory
of the flash drive, but Windows gives me the "Windows can perform the same
action each time you insert a disk or connect a device with this kind of
file" box and presents me with two options: either open the folder and view
the files, or do no action at all. Neither is what I'm wanting to do. If
it matters, I'm using Windows XP Professional at home, and Windows 2000 at
work.

Anyone have any ideas?

--ben.
 
A

Anando [MS-MVP]

Hi,

This article specifically refers to creating autorun.inf files for Microsoft Visual Studio .NET, but
i think it would apply to create any autorun file. Check it out:

HOW TO: Create an Autorun CD-ROM for Applications That You Create by Using Microsoft Visual Studio
..NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;818804

--

Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder customizations
http://newdelhi.sancharnet.in/minku

Protect your PC!
http://www.microsoft.com/protect
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top