tutorial pengembangan web terbaru
 

ASP DriveLetter Property


<Complete Reference drive Obyek

Properti DriveLetter mengembalikan satu huruf besar yang mengidentifikasi drive lokal atau jaringan berbagi.

Sintaksis

DriveObject.DriveLetter

Contoh

<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The drive letter is: " & d.driveletter)
set d=nothing
set fs=nothing
%>

Output:

The drive letter is: C

<Complete Reference drive Obyek