Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP BuildPath Method


❮ Complete FileSystemObject Object Reference

The BuildPath method appends a name to an existing path.

Syntax

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

Parameter Description
path Required. The path to append a name to
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

❮ Complete FileSystemObject Object Reference