웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
바탕화면에 바로가기 만들기
2008.11.29 20:17
바탕화면에 바로가기를 추가하는 소스입니다.
진한부분이 수정할 부분입니다.
<html>
<head>
<title>바탕화면에 바로가기 아이콘 만들기</title>
</head>
<script language='Javascript'>
var WshShell = new ActiveXObject("WScript.Shell");
Desktoptemp = WshShell.Specialfolders("Desktop");
var sName = WshShell.CreateShortcut(Desktoptemp + "네이버.url");
sName.TargetPath = "www.naver.com";
sName.Save();
</script>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p> </p>
</body>
</html>
진한부분이 수정할 부분입니다.
<html>
<head>
<title>바탕화면에 바로가기 아이콘 만들기</title>
</head>
<script language='Javascript'>
var WshShell = new ActiveXObject("WScript.Shell");
Desktoptemp = WshShell.Specialfolders("Desktop");
var sName = WshShell.CreateShortcut(Desktoptemp + "네이버.url");
sName.TargetPath = "
sName.Save();
</script>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p> </p>
</body>
</html>