不对呀!
<script language="vbscript">
<!--
sub btnadd_onclick()
Dim TheForm,str,tempstr
set TheForm=Document.AddForm
if TheForm.Goods_no.value="" then
MsgBox "不能為空!"
else
str="vip/"
tempstr=split(TheForm.file.value,"\\")
str=str&tempstr(3)
response.Write(str)