autorun.inf的编写,实现打开本盘根目录下的autorun.exe程序,电脑为XP,我的代码没用。

来源:百度知道 编辑:UC知道 时间:2024/05/27 10:42:37
autorun.inf文件内容:
[Version]
signature="$Windows NT$"”
[autorun]
open=f:\autorun.exe
--------------------------------------------------------------------
以上代码我放在F盘,双击打开无效

你的代码可以精简成以下内容:
[autorun]
open=autorun.exe

把autorun.inf文件放在F盘,双击F盘后,会自动运行autorun.exe程序。
不过,如果系统禁用了自动播放功能,双击打开无效。
如果不是原版的windows,而是经过修改的D版windows,自动播放功能可能被彻底删除,无法正常使用autorun.inf文件。