Syntax:

GetDirectoryForProtocolFile( XLIFFFile As String, CreatePath As Boolean ) As String
Return: String
Parameters: XLIFFFile Path only or a path plus the file name of the XLIFF data file.
CreatePath True: Directories will be created for the path if they do not exist.

Example:
Dim Tool As DirectoryTool

Set Tool = Application.Tools.DirectoryTool

MsgBox Tool.GetDirectoryForProtocolFile("C:\SampleFiles\Java_properties.xlf", True)
Remarks: Path only must have a backslash ("\") at the end.

See also:

Class DirectoryTool


Last Updated: 04/26/05