PDA

View Full Version : get multiple folders name +ASP


rop65828
05-19-2002, 11:28 PM
I just want a ASP script that get me the names of the folders inside a specific folder and returns and return those names in a array... any help!?!?

i found this code so i thing itspossible to do want i want i just dont know how....


<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
p=fs.GetParentFolderName("c:\winnt\cursors\3dgarro.cur")

Response.Write("The parent folder name of c:\winnt\cursors\3dgarro.cur is: " & p)

set fs=nothing
%>

tg
05-20-2002, 04:50 PM
you may get a better more complete response to this at
www.asptoday.com or www.4guysfromrolla.com