使用C#自动播放CD DVD [英] CD DVD Autoplay with C#

查看:79
本文介绍了使用C#自动播放CD DVD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人;
我已经用DEVX实用程序开发了一个应用程序,我想在CD/DVD插入计算机的cd-rom中时启动它,而无需安装该应用程序吗?

Dear All;
I''ve developed an application with DEVX utilities i want to start it when the CD/DVD inserted into computer''s cd-rom, without installing that appication is it possible? How?

推荐答案

创建包含以下内容的文件"Autorun.inf"
Create a file "Autorun.inf" containing this
[autorun] 
open=YourExecutableFile.exe


并将其放在CD的根目录中.

某些PC(具有激活的自动运行功能的PC)将运行您的可执行文件.


and put it in the root directory of your CD.

Some PCs (those with activated autorun functionality) will run your executable.


这篇关于使用C#自动播放CD DVD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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