如何创建桌面快捷方式/图标链接到我的网站 [英] How to create a desktop shortcut/icon that links to my website

查看:225
本文介绍了如何创建桌面快捷方式/图标链接到我的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

这篇关于如何创建桌面快捷方式/图标链接到我的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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