Returns the absolute path of a given relative file name depending on the given absolute main file name.

Syntax:

DirectoryTool.GetAbsolutePath( MainFileName As String, 
DependentFileName As String ) As String
Return: String
Parameters: MainFileName Absolute path of the main file.
DependentFileName Relative path of the main file.
Example:
Dim Tool As DirectoryTool
Dim AbsFileName As String

Set Tool = Application.Tools.DirectoryTool

AbsFileName = Tool.GetAbsolutePath("C:\Folder1\Folder2\File1.end", _
                    "Folder3\File2.end")

See also:

Class DirectoryTool


Last Updated: 04/26/05