小编use*_*255的帖子

从USB闪存驱动器自动运行程序

我一直在互联网上寻找配置闪存驱动器以自动播放位于其根文件夹中的文件的方法,只是NOTHING似乎工作...

目前,我有一个presentation.html文件需要在用户插入USB棒时启动,没有任何提示.

我尝试了几种解决方案,并多次确保我的系统上的自动运行已打开.我创建了一个"autorun.inf"文件:

[autorun]
UseAutoPlay=1
ShellExecute=presentation.html
ACTION=View the presentation
Run Code Online (Sandbox Code Playgroud)

甚至试图将其配置为调用批处理文件"mybatchfile.bat"

start presentation.html
Run Code Online (Sandbox Code Playgroud)

似乎没有什么工作...每次插入闪存驱动器时,它会提示我要对文件"打开文件夹;使用媒体播放器等等..."进行操作,但不会运行presentation.html.

任何建议或提示都非常感谢.

autorun autoplay

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

autoplay ×1

autorun ×1