将网站快捷方式保存到桌面代码
看你网站是什么语言的吧,我提供两种常见的,把代码保存到文件,然后再链接到这个文件就可以了。。。。
看你网站是什么语言的吧,我提供两种常见的,把代码保存到文件,然后再链接到这个文件就可以了。。。。
ASP代码:
<%
Response.ContentType="APPLICATION/OCTET-STREAM"
Response.AddHeader "Content-Disposition","attachment;filename="&"人人生活网.url"
Response.Write("[InternetShortcut]")&Chr(13)
Response.Write("URL=http://www.rrsh5.com/")&Chr(13)
Response.Write("IDList=")&Chr(13)
Response.Write("IconIndex=43")&Chr(13)
Response.Write("IconFile=C:\Windows\system32\SHELL32.dll")&Chr(13)
Response.Write("HotKey=1626")&Chr(13)
Response.Write("[{000214A0-0000-0000-C000-000000000046}]")&Chr(13)
Response.Write("Prop3=19,2")&Chr(13)
Response.End
%>
---------------------------------------------
PHP代码
<?php
$Shortcut = "[InternetShortcut]
URL=http://www.rrsh5.com/
IDList=
IconIndex=43
IconFile=C:\Windows\system32\SHELL32.dll
HotKey=1626
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=人人生活网.url;");
echo $Shortcut;
?>