ASP 하위 폴더 컬렉션
❮ 전체 폴더 개체 참조
SubFolders 컬렉션은 지정된 폴더에 있는 모든 하위 폴더의 컬렉션을 반환합니다.
통사론
FolderObject.SubFolders
예시
<%
dim fs,fo,x
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fo=fs.GetFolder("c:\test\")
for each x in fo.SubFolders
'Print the name of all subfolders in the test folder
Response.write(x.Name & "<br>")
next
set fo=nothing
set fs=nothing
%>
Output:
html
css
asp
vbscript
❮ 전체 폴더 개체 참조