Latest web development tutorials

método ASP GetDrive

Objeto FileSystemObject Referencia Referencia completa de objetos FileSystemObject

GetDrive método devuelve un objeto de accionamiento consiste drivespec parámetros especificados.

gramática

FileSystemObject.GetDrive(drivespec)

参数 描述
drivespec 必需的。可以是驱动器字母(c),或者带有冒号的驱动器字母(c:),或者带有冒号和路径分隔符的驱动器字母(c:\),或者任何网络共享规范(\\computer2\share1)。

Ejemplos

<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:\")
set fs=nothing
%>


Objeto FileSystemObject Referencia Referencia completa de objetos FileSystemObject