HB_PathNormalize

HB_PathNormalize

Normalizes the path designation by converting relative path to absolute

Syntax

      HB_PathNormalize( <cRPath> ) -> <cAPath>

Argument

<cRPath> : A path as relative ( include one or more ‘.’ and / or ‘..’ ). It is assumed that it is in accordance with OOS rules.

Returns

<cAPath> : Normalized ( absolute ) path, standardized path whenever possible.

Description

HB_PathNormalize() looks like a synonym of TrueName()

Example

      LOCAL cDir := 'C:\temp\TestSeps'
      ? HB_PathNormalize( cDir + "\.." )  // C:\temp

Seealso

HB_DirSepAdd(), HB_DirSepDel(), HB_DirSepToOS(), TrueName()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s