Latest web development tutorials

método ASP BuildPath

Objeto FileSystemObject Referencia Referencia completa de objetos FileSystemObject

BuildPath método para agregar el nombre a una ruta existente.

gramática

[newpath=]FileSystemObject.BuildPath(path,name)

参数 描述
path 必需的。要追加名称的路径。
name 必需的。追加到路径的名称。

Ejemplos

<%
dim fs,path
set fs=Server.CreateObject("Scripting.FileSystemObject")
path=fs.BuildPath("c:\mydocuments","test")
response.write(path)
set fs=nothing
%>

输出:

c:\mydocuments\test


Objeto FileSystemObject Referencia Referencia completa de objetos FileSystemObject