ShortName

ASP ShortName xususiyati


❮ Folder obyektining to‘liq ma’lumotnomasi

ShortName xususiyati ko‘rsatilgan fayl yoki papkaning qisqa nomini (8.3 nomlash qoidasi bo‘yicha) qaytarish uchun ishlatiladi.


Sintaksis

FileObject.ShortName FolderObject.ShortName

File obyekti uchun misol

<% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.GetFile("c:\hitcounterfile.txt")) Response.Write("Name: " & f.Name) Response.Write("<br>ShortName: " & f.ShortName) set f=nothing set fs=nothing %> Output: Name: hitcounterfile.txt ShortName: HITCOU~1.TXT

Folder obyekti uchun misol

<% dim fs,fo set fs=Server.CreateObject("Scripting.FileSystemObject") set fo=fs.GetFolder("c:\asp_test_web") Response.Write("Name: " & fo.Name) Response.Write("<br>ShortName: " & fo.ShortName) set fo=nothing set fs=nothing %> Output: Name: asp_test_web ShortName: ASP_TE~1

❮ Folder obyektining to‘liq ma’lumotnomasi

W3Schools Pathfinder

Yutuqlaringizni kuzating – bu bepul!