如何创建桌面快捷方式/图标链接到我的网站

问题描述:

我要寻找一种方式,供用户下载,直接链接到我的网站,他们的桌面的快捷方式。

I am looking for a way for users to download a shortcut to their desktop which links directly to my website.

我需要的快捷方式,Mac和PC与图像图标,这是可能的。

I need the shortcut for mac and pc with an image icon, is this possible.

有没有人有在做这方面的经验?

Has anyone got any experience at doing this?

任何帮助将是非常美联社preciated。

Any help would be much appreciated.

看看里面的.URL文件最简单的方法,就是里面的记事本打开它。的Internet快捷方式的内容(以最简单的形式),看起来是这样的:

The easiest way to look inside an .URL file, is to open it inside Notepad. The content (in its simplest form) of an Internet Shortcut could look like this:

[InternetShortcut]
URL=http://example.org/page.html

正如你所看到的,.URL文件有一个INI文件格式。重新$ P $的URL psents页面的地址位置加载。它必须指定一个完全限定的URL与格式协议://服务器/页。 对于其他可能的领域,我建议你看一看非官方指南的网址文件格式。

As you can see, .URL files have an INI file format. The URL represents the address location of the page to load. It must specify a fully qualifying URL with the format protocol://server/page. For other possible fields, I suggest you to take a look at "An Unofficial Guide to the URL File Format".

要添加图标,使用这样的事情(在你的.url文件):

To add icon use something like this (within your .url file):

IconIndex=0
IconFile=C:\Windows\System32\Shell32.dll

下面SHELL32.DLL是包含图标的资源文件。

Here shell32.dll is file containing icons as resources.