FileSystemObject.BuildPath Method (VB6) |
oFileSysObj.BuildPath(Path, Name)
oFileSysObj
Use: Required
Data Type: FileSystemObject object
Any object variable returning a FileSystemObject object.
Path
Use: Required
Data Type: String
A drive and/or folder path.
Name
Use: Required
Data Type: String
The folder or file path to append to path.
String
Creates a string by concatenating the path parameter with the folder or filename, adding, where required, the correct path separator for the host system.
Path can be an absolute or relative path and doesn't have to include the drive name.
Neither Path nor Name has to currently exist.
BuildPath doesn't check the validity of the new folder or filename.
The only advantage to using the BuildPath function as opposed to concatenating two strings manually is that the function selects the correct path separator.
18.222.136.152