wwUtils::GetDirectoryName

Returns just the path portion of a given file. Unlike JUSTPATH() this method preserves the casing of the path.

GetDirectoryName(lcFilePath)

Return Value

The directory portion of the path. Note that if you pass a folder, th

Parameters

lcFilePath
The full path to a file or folder.

Remarks

Uses .NET and wwDotnetBridge.

If you pass in a path that is a directory like c:\temp\test this function returns the parent path (ie. c:\temp).

The folder is returned without the trailing slash


See also:

Class wwUtils

© West Wind Technologies, 2023 • Updated: 02/27/19
Comment or report problem with topic