Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileSystemObject

Status
Not open for further replies.

PetertheImp

Technical User
Aug 20, 2002
4
0
0
GB
Is there any way of ordering the responses put out of the following code

<%
Set MyDirectory=Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set MyFiles=MyDirectory.GetFolder(Server.MapPath(&quot;planning_rec/northern&quot;))
For each filefound in MyFiles.files
%>
<a href=&quot;planning_rec/northern/<% =filefound.Name %>&quot;>
<% =filefound.Name %>
</a> <br>
<%
Next
%>
 
it outputs them in alphabetical order at the moment - is that right?? What order do you want to display them in? Tony
reddot.gif WIDTH=500 HEIGHT=2 VSPACE=3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top