Results 1 to 3 of 3

Thread: Autostart USB drive when inserted

  1. #1
    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.

  2. #2
    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).

  3. #3
    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.

Similar Threads

  1. Replies: 3
    Last Post: 10-03-2012, 05:55 AM
  2. Delphi, Autostart Function!!!
    By alex198555 in forum Windows Software
    Replies: 7
    Last Post: 29-07-2010, 11:21 AM
  3. Autostart rivatuner in Vista
    By Gannon in forum Windows Software
    Replies: 4
    Last Post: 10-04-2010, 06:49 AM
  4. Ubuntu 9.10 Crashes When CD Inserted In A Drive
    By ramsun in forum Operating Systems
    Replies: 5
    Last Post: 08-01-2010, 10:08 AM
  5. PC restarts when DVD/CD is inserted in the drive
    By Rafaeel in forum Hardware Peripherals
    Replies: 5
    Last Post: 22-12-2009, 04:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,718,309,361.53196 seconds with 16 queries