ASP GetBaseName နည်းလမ်း
❮ ပြီးပြည့်စုံသော FileSystemObject အရာဝတ္ထု ရည်ညွှန်းချက်
GetBaseName နည်းလမ်းသည် သတ်မှတ်ထားသောလမ်းကြောင်းရှိ ဖိုင် သို့မဟုတ် ဖိုင်တွဲ၏ အခြေခံအမည်ကို ပြန်ပေးသည်။
အထားအသို
FileSystemObject.GetBaseName(path)
Parameter | Description |
---|---|
path | Required. The path for the file or folder whose base name is to be returned |
ဥပမာ
<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
Response.Write(fs.GetBaseName("c:\winnt\cursors\3dgarro.cur"))
set fs=nothing
%>
Output:
3dgarro
❮ ပြီးပြည့်စုံသော FileSystemObject အရာဝတ္ထု ရည်ညွှန်းချက်