<script language=javascript>
function createflod()
{
//获取日期 2007-04-29 16:41
var now = new Date(); //获取系统日期
var yy = now.getYear(); //获取年,即2007
var mm = now.getMonth(); //获取月,即04
var dd = now.getDay(); //获取日,即29
var clock = yy+ "- "+mm+ "- "+dd;
var fso = new ActiveXObject( "Scripting.FileSystemObject ");
if not fso.FolderExists( "c:\\ " ) then
Fso.CreateFolder Server.MapPath( "/ " & clock)
}
</script>
为什么执行不成功.
改如何修改.
------解决方案--------------------------------------------------------
对js研究不够...
------解决方案--------------------------------------------------------
http://www.matrix.org.cn/resource/article/2006-01-10/Javascript_44146
http://www.tomore.com/4/3651
------解决方案--------------------------------------------------------
顶.
------解决方案--------------------------------------------------------
提示什么错误啊
------解决方案--------------------------------------------------------
因为没有权限
------解决方案--------------------------------------------------------
明显,权限问题。
------解决方案--------------------------------------------------------
注意操作权限