ASP GetSpecialFolder နည်းလမ်း
❮ ပြီးပြည့်စုံသော FileSystemObject အရာဝတ္ထု ရည်ညွှန်းချက်
GetSpecialFolder နည်းလမ်းသည် Windows ၏ အထူးဖိုင်တွဲအချို့သို့ လမ်းကြောင်းကို ပြန်ပေးသည်။
အထားအသို
FileSystemObject.GetSpecialFolder(foldername)
Parameter | Description |
---|---|
foldername | Required. The folder to be returned. 0=WindowsFolder - Contains files installed by the Windows operating system 1=SystemFolder - Contains libraries, fonts, and device drivers 2=TemporaryFolder - Used to store temporary files |
ဥပမာ
<%
dim fs,p
set fs=Server.CreateObject("Scripting.FileSystemObject")
set p=fs.GetSpecialFolder(1)
Response.Write(p)
set p=nothing
set fs=nothing
%>
Output:
C:\WINNT\system32
❮ ပြီးပြည့်စုံသော FileSystemObject အရာဝတ္ထု ရည်ညွှန်းချက်