GetParentFolderName
ASP GetParentFolderName metodi
❮ FileSystemObject obyektining to‘liq ma’lumotnomasi
GetParentFolderName metodi ko‘rsatilgan yo‘ldagi oxirgi komponentning ota papkasi nomini qaytaradi.
Sintaksis
FileSystemObject.GetParentFolderName(path)
| Parametr | Tavsif |
|---|---|
| path | Majburiy. Ota papkasi nomi qaytariladigan fayl yoki papkaning yo‘li |
Misol
<%
dim fs,p
set fs=Server.CreateObject("Scripting.FileSystemObject")
p=fs.GetParentFolderName("c:\winnt\cursors\3dgarro.cur")
Response.Write(p)
set fs=nothing
%>
Output:
c:\winnt\cursors
❮ FileSystemObject obyektining to‘liq ma’lumotnomasi
W3Schools Pathfinder
Yutuqlaringizni kuzating – bu bepul!
