适用于Windows7的AutoRun [英] AutoRun for Windows7

查看:71
本文介绍了适用于Windows7的AutoRun的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,



我正在制作游戏并为它制作了一个简单的安装程序,但我想要一个自动运行类型的东西。如果我在USB上安装了安装程序,我能够放入一些东西,这样当我插入USB时,它会自动启动安装程序吗?



谢谢!

hey guys,

i am making a game and have made a simple installer for it, but i want an autorun type of thing. if i have the installer on a usb, am i able to put in something so that when i insert the usb, it will start up the installer automatically?

thanks!

推荐答案

在USB的根目录中,放入一个名为 AUTORUN.INF 的文件,其中包含以下两行:

In the root of the USB, put a file named AUTORUN.INF that contains the following two lines:
[autorun]
OPEN=SETUP.EXE





注意:在某些电脑上,管理员已禁用执行AutoRun的功能。



Note: On some PCs, administrators have disabled the capability to do AutoRun.


这篇关于适用于Windows7的AutoRun的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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