METHOD: FileSystemObject.BuildPath
Implemented in version 2.0
[newfullpath = ]object.BuildPath(path, name)
This method is used to append a name onto an existing path. The format of the new path is ‘existingpath\name’.
Code:
<%
dim filesys, newfullpath
set filesys=CreateObject(« Scripting.FileSystemObject »)
newfullpath = filesys.BuildPath(c:\inetpub\wwwroot, « images »)
%>
Output:
« c:\inetpub\wwwroot\images »