Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > XP Hardware
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Autostart USB drive when inserted

XP Hardware


Reply
 
Thread Tools Search this Thread
  #1  
Old 13-02-2006
Member
 
Join Date: Nov 2005
Posts: 10
Autostart USB drive when inserted

Hope I get some working tip here. I am thinking to buy few USB drives, burn them with application images and sell. These applications should start automatically when USB Drives are inserted/connected with the system. is there any way we can make the program to AutoRun as soon as the drive is connected to the computer? If yes, please let me know how? Thank you very much.

Reply With Quote
  #2  
Old 14-02-2006
Member
 
Join Date: Dec 2009
Posts: 1
Don't know if it would work, but have you tried using an autorun.inf file
(similiar to a CD)?

Is there any way to to have a script in windows that detects USB insert and runs an application from windows (anivirus).
Reply With Quote
  #3  
Old 15-02-2006
Member
 
Join Date: Jul 2004
Posts: 142
Re: Autostart USB drive when inserted

Yes, there is a way for doing the same. You can do it by using autorun.inf like we use to have in CDs. While creating the USB Drive, place a notepad with name autorun.inf, open it in notepad and put this code inside:

[AutoRun]
open=programname.exe


Here programname.exe is your applications name.exe.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > XP Hardware
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Autostart USB drive when inserted"
Thread Thread Starter Forum Replies Last Post
Is it possible to have AnyDVD automatically rip DVD's when inserted into my DVD drive? Adarna Windows Software 3 10-03-2012 05:55 AM
Delphi, Autostart Function!!! alex198555 Windows Software 7 29-07-2010 11:21 AM
Autostart rivatuner in Vista Gannon Windows Software 4 10-04-2010 06:49 AM
Ubuntu 9.10 Crashes When CD Inserted In A Drive ramsun Operating Systems 5 08-01-2010 10:08 AM
PC restarts when DVD/CD is inserted in the drive Rafaeel Hardware Peripherals 5 22-12-2009 04:54 PM


All times are GMT +5.5. The time now is 02:07 PM.