Hello I am trying to find out for auto run application's while plug in my USB pen drive .so is there any way that while i plug in the USB Pen drive it automatically open myappilication.exe while already there in USB root file.Instead of showing the option for running i want directly it will run the exe file .
A:
Just copy paste from a site that tells how to write an autorun..
Open Notepad
Type in:
[autorun]
open=PStart.exe
action=Run PStart Program
icon=PStart.exe
label=My Portable PC
Save the file as autorun.inf
Put the file in the root of your USB flash drive
The next time you insert your removable drive into your PC, the specified program will autorun from the USB drive
ref: http://blog.shankarganesh.com/2007/08/11/how-to-autorun-programs-from-usb-flash-drive/
my comment about this topic..
as i know there is a flag in registry that enables/disables autorun on flash.
it also enables/disables autorun of other devices
maybe you can search for it..
ufukgun
2009-08-05 12:37:08
SO, the new google :(
KevinDTimm
2009-08-05 13:01:39
can u tell me pls this is the executable file PStart.exe.which will automatically run while plug in USB ?
2009-08-05 13:08:56
yes i tried now but its asking for run that executable file i.e PStart.exe.But is it possible directly that PStart.exe will run while plug in USB drive.
2009-08-05 13:12:04