<!--把如下代码加入<body>区域中-->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function whatFile() {
window.location= 'file://' + document.form1.cmuds.value;
}
// End -->
</script>
<form name=form1>
<input type=file name="cmuds">
<input type=button onClick="whatFile()" value="打开文件">
</form>