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

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

2022-06-13   來源: .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-2022 電腦知識網 Computer Knowledge   All rights reserved.