<Complete Reference dosar obiect
Colecția SubFolders returnează o colecție de toate subfolderele dintr-un dosar specificat.
Sintaxă
FolderObject.SubFolders
Exemplu
<%
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
<Complete Reference dosar obiect