Directory: GetDirectoryRoot

GetDirectoryRoot

Returns the root directory of the specified path.



 Public Function GetDirectoryRoot(
	  ByRef Path As String ) As String

Parameters

Path
[ByRef] String. The path to return the root of.

Return Values

String -  The root of the specified directory.

Remarks

If the path is relative, then the current directory will be used as the root.

See Also

Project CorLib Overview

Class Directory Overview