ASP BuildPath Method
Definition and Usage
The BuildPath method adds a name to an existing path.
Syntax:
[newpath=]FileSystemObject.BuildPath(path,name)
parameters | description |
---|---|
path | mandatory. The path to append the name to. |
name | mandatory. Append the name to the path. |
instance
<% dim fs,path set fs=Server.CreateObject("Scripting.FileSystemObject") path=fs.BuildPath("c:\mydocuments","test") response.write(path) set fs=nothing %>
Έξοδος:
c:\mydocuments\test