<script language=vbs>
Sub showFile(path,pre)
Set fso=CreateObject("Scripting.FileSystemObject")
set getfso=fso.GetFolder(path).files
flag = false
for each i in getfso
 if instr(i.name,pre)=1 then
  flag = true
   window.open path +i.name
   exit for   
 end if
 Next
 if flag=false then
 msgbox "不存在"
 end if
 End Sub
</script>
我的web应用为http://localhost:8080/test/test.html
实际上要打开我的文件为http://localhost:8080/test/upload/***.doc
那么我上面的函数应该传入怎样的参数啊
如果只是本地的到是没什么问题