ASP GetDrive Yöntemi
Tanım ve Kullanım
GetDrive yöntemi, drivespec parametresi tarafından tanımlanan Drive nesnesini döndürebilir.
Sözdizimi:
FileSystemObject.GetDrive(drivespec)
Parametre | Açıklama |
---|---|
drivespec | Gerekli. Bir sürücü harfi (c) olabilir, iki nokta ile başlayan sürücü harfi, iki nokta ve yol ayraç simgesi ile başlayan sürücü harfi veya herhangi bir ağ paylaşım standartı (\\computer2\share1) olabilir. |
Örnek
<% dim fs,d set fs=Server.CreateObject("Scripting.FileSystemObject") set d=fs.GetDrive("c:\") set fs=nothing %>