# Function Reference

# _WinAPI_PathUndecorate

Removes the decoration from a path string

#include <WinAPIShPath.au3>
_WinAPI_PathUndecorate ( $sFilePath )

## Parameters

$sFilePath | The path.

## Return Value

Returns the undecorated string.

## See Also

Search PathUndecorate in MSDN Library.

## Example

    #include <WinAPIShPath.au3>

    Local $aPath[4] = ['C:\Path\File[5].txt', 'C:\Path\File[12]', 'C:\Path\File.txt', 'C:\Path\[3].txt']

    For $i = 0 To 3
        ConsoleWrite(StringFormat('%-22s' & _WinAPI_PathUndecorate($aPath[$i]), $aPath[$i]) & @CRLF)
    Next