复制代码 代码如下:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<title>一个用于定时重启或关闭计算机的小工具,适用于Windows 2K/XP/2003 </title>
<hta:application
id="WTimer"
maximizebutton="No"
minimizebutton="Yes"
singleinstance="Yes"
contextmenu="Yes"
sysmenu="Yes"
version="1.0"
innerborder="No"
caption="Yes"
showintaskbar="Yes"
border="Normal"
border
applicationname="Windows Timer"
icon="TimerIco.ico"
/>
<Style type="text/css">
<>
</Style>
<Script Language="JavaScript">
<>
</Script>
</head>
<body>
<fieldset>
<table width="100%" border="1" cellpadding="4" cellspacing="3">
<form name="form1">
<tr>
<td width="25%">设定时间:</td>
<td width="75%"><input type="text" name="time" size="20" value="" onkeypress="ResponseKeyPress()" />
<select name="mod_time">
<option value="mod_minute">分钟</option>
<option value="mod_second">秒钟</option>
</select>
</td>
</tr>
<tr>
<td>功能选择:</td>
<td>
<input type="radio" name="operation" value="rWin" checked="checked" />重启
<input type="radio" name="operation" value="cWin" />关机
</td>
</tr>
<tr>
<td colspan="2">
<input type="button" name="StartButton" value=" 应用 " />
<input type="button" name="StopButton" value=" 取消 " />
<input type="button" name="ExitButton" value=" 退出 " />
</td>
</tr>
</form>
</table>
</fieldset>
<div id="footerinfo">
<div id="left"></div>
<div id="right">
作者:黑虾
</div>
</div>
</body>
</html>
如果保存后发现不能运行一般是编码的问题,可以用记事本保存,也可以直接从本站下载
http://www.jb51.net/softs/11618.html