URL File format multiple targets

本秂侑毒 提交于 2021-01-28 06:01:08

问题


The commonly accepted file format for a .url file (internet shortcut) is as follows:

[InternetShortcut]
URL=http://example.com
WorkingDirectory=C:\WINDOWS\
ShowCommand=7
IconIndex=1
IconFile=C:\WINDOWS\SYSTEM\url.dll
Modified=20F06BA06D07BD014D
HotKey=1601

Is there a way, most likely a hack, to make a single internet shortcut file open up multiple tabs? I tried this:

...
URL=http://example.com
URL=http://example.com
...

and this: ... URL=http://example.com; http://example.com ... and the same thing with commas instead of semicolons. I also tried with spaces after the semicolon/comma. Any ideas?


回答1:


You can do this with HTML and JS, it is explained here: http://www.bloggersentral.com/2009/11/opening-multiple-links-in-single-click.html



来源:https://stackoverflow.com/questions/13088263/url-file-format-multiple-targets

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!