Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP BuildPath Method

ASP BuildPath Method


FileSystemObject Reference Complete FileSystemObject object reference manual


The BuildPath method appends a name to an existing path.

Syntax

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

Parameters Description
path Required. The path to which the name is appended.
name Required. The name to append to the path.

Example

<%

dim fs,path

set fs=Server.CreateObject("Scripting.FileSystemObject")

path=fs.BuildPath("c:\mydocuments","test")

response.write(path)

set fs=nothing

%>

Output:

c:\mydocuments\test


FileSystemObject Reference Complete FileSystemObject object reference manual