createShortcut.wsf

Last-modified: 2014-08-16 (土) 12:41:50 (2183d)
<JOB id="createShortcut">
<SCRIPT type="text/JScript" language="JScript">
var wshShell = new ActiveXObject("WScript.Shell");
var ScriptPath = WScript.ScriptFullName.replace(WScript.ScriptName,"");

var fileShortcut = wshShell.CreateShortcut("webmailLogin.lnk");
with(fileShortcut){
	TargetPath   = ScriptPath+"webmailLogin.hta";
	Description  = "webメールに簡単にログインするツールです";
	IconLocation = ScriptPath+"include\\post.ico";
	Save();
}

</SCRIPT>
</JOB>