ASP SubFolders Collection |
-- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
ASP Tutorial
ASP Tutorial ASP Introduction ASP Installation ASP Syntax ASP Variables ASP Procedures ASP Forms ASP Cookies ASP Session ASP Application ASP #include ASP Global.asa ASP Send Email
ASP Objects
ASP Response ASP Request ASP Application ASP Session ASP Server ASP Error ASP FileSystem ASP TextStream ASP Drive ASP File ASP Folder ASP Dictionary ASP ADO
ASP Components
ASP AdRotator ASP BrowserCap ASP Content Linking ASP Content Rotator
ASP and AJAX
AJAX Introduction AJAX ASP AJAX Database
ASP Summary
ASP Quick Reference ASP Summary
ASP Examples
Explore Further
Scripting
Programming
Programming Languages
Computer Science
Software
Web Service
Development Tools
Web Design and Development
Scripting Languages
Web Services
ASP SubFolders Collection
Complete Folder Object Reference Manual
The SubFolders collection returns a collection of all subfolders contained within a specified folder.
Syntax
FolderObject.SubFolders
Example
<%
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
YouTip