DriveType
ASP DriveType xususiyati
❮ Drive obyektining to‘liq ma’lumotnomasi
DriveType xususiyati ko‘rsatilgan diskning turini bildiruvchi qiymatni qaytaradi.
Bu xususiyat quyidagi qiymatlardan birini qaytarishi mumkin:
- 0 = noma’lum
- 1 = olinadigan (removable)
- 2 = doimiy (fixed)
- 3 = tarmoq diski
- 4 = CD-ROM
- 5 = RAM disk
Sintaksis
DriveObject.DriveType
Misol
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("a:")
Response.Write("The drive type is: " & d.DriveType)
set d=nothing
set fs=nothing
%>
Output:
The drive type is: 1
❮ Drive obyektining to‘liq ma’lumotnomasi
W3Schools Pathfinder
Yutuqlaringizni kuzating – bu bepul!
