熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

asp fso列出所有目錄下文件夾與文件

2013-11-13 10:34:46  來源: .NET編程 

  <%
       Set FSO=ServerCreateObject("ScriptingFileSystemObject")
       Set ServerFolder=FSOGetFolder(ServerMapPath("photo"))
       Set ServerFolderList=ServerFolderFiles
       For Each ServerFileEvery IN ServerFolderList
       %>
              <% =ServerFileEveryName %>
       <% Next %>

  
 


From:http://tw.wingwit.com/Article/program/net/201311/14033.html
  • 上一篇文章:

  • 下一篇文章:
  • Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.