<! Doctype HTML public "-// W3C // dtd html 4.0 transitional // en"> <br/> <HTML> <br/> <pead> <br/> <title> use js to create your Desktop shortcuts </title> <br/> <meta name = "generator" content = "editplus"> <br/> <meta name = "author" content = "hoojo"> <br/> <meta name = "email" content = "hoojo_@126.com"> <br/> <SCRIPT> <br/> var objshell = new activexobject ("wscript. shell "); <br/> var strdesktop = objshell. specialfolders ("desktop"); <br/> var objlink = objshell. createshortcut (strdesktop + "// my webpage. lnk "); </P> <p> with (objlink) {<br/> targetpath =" http://www.baidu.com "; <br/> windowstyle = 1; <br/> hotkey = "CTRL + ALT + u"; <br/> description = "this is the <SPAN class = 'wp _ keywordlink '> Program </span> description "; <br/> workingdirectory = strdesktop; <br/> Save (); <br/>}< br/> </SCRIPT> <br/> </pead> <br/> <body> <br/> </body> <br/> </ptml> <br/>