学院首页>网络编程>ASP>如何用ASP建立目录

如何用ASP建立目录

作者:未知 来源:未知 添加时间:2006-5-21 10:29:38
可以在C盘根下建立allasp子目录

以下是源代码:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>allasp</title>
<meta name="Microsoft Theme" content="sumipntg 011, default">
</head>
<body>
<script language="VBScript">
Sub b3_onclick( )
Set fs = CreateObject("Scripting.FileSystemObject")
set aa=fs.CreateFolder("c:\allasp")
end sub
</script> 
<p><input type="button" value="OK" name="B3"></p>
</body>
</html>
站内搜索