Automatically start software
I have a USB device that I wont to auto run an application on a PC whenever it it plugged in.
How do I do this?
Software
I have a USB device that I wont to auto run an application on a PC whenever it it plugged in.
How do I do this?
by daniel Accepted solution
by rob miners Accepted solution
The autorun.inf file is the key to getting your USB drive (or CD-ROM drive, for that matter) to perform certain actions automatically and customize it?s look in My Computer. The purpose of this article is to shed some light on how this can be done.
http://dailycupoftech.com/usb-drive-autoruninf-tweaking/
Sample Autorun.inf
[autorun]
open=setup.exe
icon=setup.ico
To run a Batch file that will invoke a Program.
[autorun]
open=sub.cmd
sub.cmd
==================
@echo off
set path=%~dp0;%path%
subst V: %~dp0
goto view
:view
explorer /e: /root,V:\icons
goto end
:end
=============
http://autorun.moonvalley.com/autoruninf.htm
by daniel Accepted solution
Sorry I should have been more explicit. The device is a Embedded controller with a FTDI FT232RQ chip for the USB communications.
When I plug this product in I wont it to start an interface application on the PC.
- USB device has no Drive.
- Application located on local PC.
by older mycroft Accepted solution
https://www.techrepublic.com.com/5208-10879-0.html?forumID=101&threadID=310425&messageID=3087022
If so, you are just wasting our time by splitting the available resources, by posting twice with conflicting details.
by cg it Accepted solution
for an IT administrator, having someone running around with a flash drive that will autorun a program when you plug it in, gives me the willies.
When someone asks this kind of question, I envision someone with an ax to grind creating this little virus program that runs when you plug in the USB drive thus infecting the network.
by rob miners Accepted solution
by daniel Accepted solution
Note: below the previous reply!!!!!!
I wont to run a application on a PC hard drive Pre installed when a hardware that has medical device is connected to the PC it auto starts the interface software. Writing something to run off a memory stick any dipstick could do.
This is the same as connecting an ipod with no memory and starting itunes why so hard?
"More clearification
Sorry I should have been more explicit. The device is a Embedded controller with a FTDI FT232RQ chip for the USB communications.
When I plug this product in I wont it to start an interface application on the PC.
- USB device has no Drive.
- Application located on local PC. "
by rob miners Accepted solution
by older mycroft Accepted solution
And I can't help but form the totally ill-educated, dipstick-like opinion that it is basically intended to ALLOW an application to run, rather than to invoke it's activation.
Most of what 'Future Technology Devices International Ltd.' have to say about it, tends to suggest it is deigned to act like a security dongle. I've never seen a dongle that activated a dormant program, more like allowed a program to be started by the user.
But what would I know - I'm just a dipstick.
by cg it Accepted solution
was a USB device that unless plugged in, you couldn't boot up the computer. I thought it was great for laptop security. We tried it and intially thought manna from heaven.
Then came the problems with users losing the damn things. They were coded chips and couldn't be cloned. Well pretty soon we had to start flashing bioses, reinstalling everything. Nightmare.
by cg it Accepted solution
anyone who creates hardware using USB usually makes the damn thing plug and play. If not, then as Jackie Howe mentions, they supply the drivers and applications required, like printer and scanner mfgs do. .
I program, not often, but must be a dipstick as well.
by rob miners Accepted solution
by cg it Accepted solution
by older mycroft Accepted solution
by cg it Accepted solution
by older mycroft Accepted solution
That 'Dipstick' comedy - which I'd never seen before, reminded me of this old British TV ad...
http://www.tellyads.com/show_movie_vintage.php?filename=VA0034
It eventually got banned, some busy-body of a politician started saying it promoted violence in the street.
[b]You've got to PRESS PLAY![/b]
by older mycroft Accepted solution
http://www.tellyads.com/show_movie_vintage.php?filename=VA0230
Never fails to draw a laugh from me, this one! :^0
by daniel Accepted solution
All this response is not answering my question. How do I get a non USB memory program ie c:\program files to start when a USB device other than a drive is connected to the USB port ie plug and play?
Please some useful answers
by rob miners Accepted solution
This discussion is closed to new replies.
Sort by Trending