RC-WinTrans Object Model Help | 
  DirectoryTool.GetRelativePath
 | 
Returns the relative path of a given absolute file name depending on the given absolute main file name.
Syntax:  | 
	 DirectoryTool.GetRelativePath( MainFileName As String, DependentFileName As String ) As String  | 
  
| Parameters: | 
MainFileName  Absolute path of the main file. DependentFileName Absolute path of the dependent file.  | 
  
| Example: | Dim Tool As DirectoryTool
Dim RelFileName As String
Set Tool = Application.Tools.DirectoryTool
RelFileName = Tool.GetRelativePath("C:\Folder1\Folder2\File1.end", _
                    "C:\Folder1\Folder2\Folder3\File2.end")
 | 
  
See also: