Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".

Namespace: EnterpriseDT.Util
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public static string[] Fix(
	string[] path
)
Visual Basic
Public Shared Function Fix ( _
	path As String() _
) As String()
Visual C++
public:
static array<String^>^ Fix(
	array<String^>^ path
)

Parameters

path
Type: array<System..::..String>[]()[][]
Path to clean up as an array of strings where each string is a single directory.

Return Value

Cleaned up path.

See Also