USB-启动应用程序 [英] USB - Startup Application

查看:85
本文介绍了USB-启动应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要制作一个可在USB启动时运行的应用程序,将USB连接到计算机后,一个小的应用程序运行,该应用程序必须使用USB,因此无论何时将其连接到计算机上,该应用程序将运行

i need to make an application which runs at startup of a usb, once a usb is attached to a computer, a small application runs, application needs to be in USB, so that when so ever it is attached with a computer, the application runs

推荐答案

在USB拇指驱动器的根文件夹中放置一个Autorun.inf,指向要运行的应用程序.
但是,如今在大多数PC上都禁用了可移动媒体自动运行,这将使您的工作无用.如果您是管理员,则可以激活它.
Put an Autorun.inf in the USB thumb drive''s root folder that points at the application to run.
However, removable media autorun is disabled on most PCs nowadays, which will render your effort useless. You can activate it if you are the administrator.


检查本文

< a href ="http://www.cybersprocket.com/2011/programming-languages/detecting-usb-insertionremoval-in-c-net-4-0/"> http://www.cybersprocket.com /2011/programming-languages/detecting-usb-insertionremoval-in-c-net-4-0/</a> [< a href ="http://www.cybersprocket.com/2011/programming-languages /detecting-usb-insertionremoval-in-c-net-4-0/"target =" _ blank"title ="新窗口> ^</a>]
Check this article

<a href="http://www.cybersprocket.com/2011/programming-languages/detecting-usb-insertionremoval-in-c-net-4-0/">http://www.cybersprocket.com/2011/programming-languages/detecting-usb-insertionremoval-in-c-net-4-0/</a>[<a href="http://www.cybersprocket.com/2011/programming-languages/detecting-usb-insertionremoval-in-c-net-4-0/" target="_blank" title="New Window">^</a>]


这篇关于USB-启动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆