title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
BuildPath method (Visual Basic for Applications) |
vblr6.chm2182031 |
|
|
55f3dbad-0e0a-1968-a749-fe87986e9690 |
12/14/2018 |
medium |
Combines a folder path and the name of a folder or file and returns the combination with valid path separators.
object.BuildPath (path, name)
The BuildPath method syntax has these parts:
Part | Description |
---|---|
object | Required. Always the name of a FileSystemObject. |
path | Required. Existing path with which name is combined. Path can be absolute or relative and need not specify an existing folder. |
name | Required. Name of a folder or file being appended to the existing path. |
The BuildPath method inserts an additional path separator between the existing path and the name, only if necessary.
[!includeSupport and feedback]