I'm trying to create an ASP page that will create a dropdown menu of the names of subdirectories on the server.
Can anyone help?
Here's what I have so far:
<form name="vbgetfolder" method="post" action="">
<select name="fld" onChange="submit()">
<option value="selected">Select a folder --></option>
const subdir = "\images\"
set objFSO = Server.CreateObject("Scripting.FileSystemObject")
for each fldr in Server.MapPath(subdir)
'what goes here?