|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi, I would like to see the directory tree of a particular folder with ASP language...
For example : [FOLDER1] [FOLDER2] [FOLDER3] File1 File2 ... i would like to extract folders names (FOLDER1, ...) (and not the files) ![]() |
|
#2
|
||||
|
||||
|
You may need to use Filesystem object for listing all the directory names.
you may initialize the fileobject system like following: <% dim fso fso=server.createobject("scripting.filesystemobject") 'initialize the filesystem object 'now use getFoleder method to get the folder names fso.getFolder(fullpathtofolder) 'may be u can store the above names to a variable and 'manipulate it fso.close %> i haven't tested the above one ..you may see the http://msdn.microsoft.com/library/default.asp library for the example...i hope that might help u.. Good Luck!
__________________
SR - webshiju.com www.lizratechnologies.com "The fear of the LORD is the beginning of knowledge..." |
|
#3
|
||||
|
||||
|
Here is couple of faqs about filesystem object :
http://www.aspfaqs.com/aspfaqs/ShowCategory.asp?CatID=4 http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=118 |
|
#4
|
||||
|
||||
|
|
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Directory Browsing with ASP language |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|