ASP Move ဘက်တူး
အသုံးပြုခြင်း နှင့် လက်ခံ
Move ဘက်တူး သတ်မှတ်ထားသော ဖြည့်ဆည်းအဖြစ် သို့မဟုတ် ဖြည့်ဆည်းအဖြစ် တစ်ခုခု အခြား နေရာသို့ ပြောင်းရွှေ့သည်။
အက္ခရာ
FileObject.Move(destination) FolderObject.Move(destination)
သဘောတူ | ဖော်ပြ |
---|---|
အရာ | လိုအပ်သောအရာ။ ဖြည့်ဆည်း/ဖြည့်ဆည်း လုပ်ငန်း ရှိ နေရာ။ အမှတ်ပုံ အသုံးပြုခြင်း မပါ |
အမှတ်
ဖြည့်ဆည်း ဖြည့်ဆည်း အက်ဥ်စ်အိုင်အေ
<% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") Set f=fs.GetFile("d:\test.txt") f.Move("d:\test\test.txt") set f=nothing set fs=nothing %>
ဖြည့်ဆည်း ဖြည့်ဆည်း အက်ဥ်စ်အိုင်အေ
<% dim fs,fo set fs=Server.CreateObject("Scripting.FileSystemObject") set fo=fs.GetFolder("d:\test") fo.Move("d:\asp\test") set fo=nothing set fs=nothing %>