<%
set myfilesize = server.createobject ("scripting.filesystemobject")
mypath = server.mappath("/somedirectory")
set myfolder = myfilesize.getfolder(mypath)
%>
<p><% =mypath %> is <% =myfolder.size %> bytes</p>
我们可以看到显示的样式如:shenzhaoyang\chunfeng\somedirectory is 66093625 bytes。
[1]
如对本文有疑问, 点击进行留言回复!!
vscode使用editorconfig插件以及.editorconfig配置文件说明详解
VSCODE添加open with code实现右键打开文件夹
网友评论