Autorun with "flash drive"?

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.customize (More info?)

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.
 
Archived from groups: microsoft.public.windowsxp.customize (More info?)

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


"Hurricane Boy" <ben.bedo@gmail.completewasteoftime> wrote in message
news:Wibld.604310$8_6.94890@attbi_s04...
> 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.
>