ASP ဖိုင် များစုစည်းမှု
❮ Folder Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။
Files collection သည် သတ်မှတ်ထားသော folder တစ်ခုရှိ ဖိုင်အားလုံး၏ စုစည်းမှုကို ပြန်ပေးသည်။
အထားအသို
FolderObject.Files
ဥပမာ
<%
dim fs,fo,x
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fo=fs.GetFolder("c:\test\")
for each x in fo.files
'Print the name of all files in the test folder
Response.write(x.Name & "<br>")
next
set fo=nothing
set fs=nothing
%>
အထွက်-
test_adv.txt
guestbook.txt
links.txt
links2.txt
textads.txt
textfile.txt
❮ Folder Object ရည်ညွှန်းချက်ကို အပြီးသတ်ပါ။