A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Hardware and Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Autostart USB drive when inserted



 
 
Thread Tools Display Modes
  #1  
Old February 13th 06, 04:18 PM posted to microsoft.public.windowsxp.hardware
external usenet poster
 
Posts: n/a
Default Autostart USB drive when inserted

Is there a way to setup a program to autostart and run when a USB drive
is inserted to a computer? I found a way but it requires software to
be pre-loaded on a pc. I want to purchase a large quantity of drives
and burn them with an image and distribute. When inserted I want my
program to autorun.

Ads
  #2  
Old February 13th 06, 08:32 PM posted to microsoft.public.windowsxp.hardware
external usenet poster
 
Posts: n/a
Default Autostart USB drive when inserted

Don't know if it would work, but have you tried using an autorun.inf file
(similiar to a CD)?

wrote in message
oups.com...
Is there a way to setup a program to autostart and run when a USB drive
is inserted to a computer? I found a way but it requires software to
be pre-loaded on a pc. I want to purchase a large quantity of drives
and burn them with an image and distribute. When inserted I want my
program to autorun.



  #3  
Old February 15th 06, 03:59 AM posted to microsoft.public.windowsxp.hardware
external usenet poster
 
Posts: n/a
Default Autostart USB drive when inserted

yes, use autorun.inf, just like in the CD.

create and place a file named "autorun.inf" into the USB drive. open the
autorun.inf file using notepad, and type this inside:

[AutoRun]
open=abcde.exe

Note: assuming your program in named "abcde.exe"

While it usually autorun in Windows 2000 and XP, there is a possibility that
it won't run, too. Like my computer, I disabled the autorun, to prevent
viruses to autorun when I insert foreign usb or CD drives.


"Dave B" ditulis dalam berita
...
Don't know if it would work, but have you tried using an autorun.inf file
(similiar to a CD)?

wrote in message
oups.com...
Is there a way to setup a program to autostart and run when a USB drive
is inserted to a computer? I found a way but it requires software to
be pre-loaded on a pc. I want to purchase a large quantity of drives
and burn them with an image and distribute. When inserted I want my
program to autorun.




  #4  
Old December 14th 09, 04:43 AM posted to microsoft.public.windowsxp.hardware
ameyashetti
external usenet poster
 
Posts: 1
Default Autostart USB drive when inserted


Hi Guys ,

Is there any way to to have a script in windows that detects USB insert
and runs an application from windows (anivirus).


--
ameyashetti
------------------------------------------------------------------------
ameyashetti's Profile: http://forums.techarena.in/members/163691.htm
View this thread: http://forums.techarena.in/xp-hardware/459780.htm

http://forums.techarena.in

  #5  
Old December 14th 09, 09:16 AM posted to microsoft.public.windowsxp.hardware
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Autostart USB drive when inserted

ameyashetti wrote:

Hi Guys ,

Is there any way to to have a script in windows that detects USB insert
and runs an application from windows (anivirus).


That */46-month old/* thread already told you how.

http://forums.techarena.in


A leech site pretending to have forums by running a webnews-for-dummies
interface that submits improperly formatted posts through a gateway to
Usenet (aka newsgroups).
  #6  
Old December 14th 09, 09:16 AM posted to microsoft.public.windowsxp.hardware
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Autostart USB drive when inserted

ameyashetti wrote:

Hi Guys ,

Is there any way to to have a script in windows that detects USB insert
and runs an application from windows (anivirus).


That */46-month old/* thread already told you how.

http://forums.techarena.in


A leech site pretending to have forums by running a webnews-for-dummies
interface that submits improperly formatted posts through a gateway to
Usenet (aka newsgroups).
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Boot Drive - How To? Dave H Hardware and Windows XP 7 October 17th 05 01:42 PM
New Monitor/Trouble Booting webejammin General XP issues or comments 7 August 31st 05 09:02 PM
hard drive angel Windows XP Help and Support 31 July 31st 05 05:06 AM
Adding a second hard drive problem kimmo Hardware and Windows XP 14 March 19th 05 02:13 PM
Clone Won't boot jimbo Hardware and Windows XP 10 November 2nd 04 03:36 PM






All times are GMT +1. The time now is 08:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.