# Function Reference

# _WinAPI_PathUnExpandEnvStrings

Replaces folder names in a fully-qualified path with their associated environment string

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

## Parameters

$sFilePath | The path to be unexpanded.

## Return Value

Success: | The unexpanded string.
Failure: | Empty string.

## See Also

Search PathUnExpandEnvStrings in MSDN Library.

## Example

    #include <WinAPIShPath.au3>

    Local $sPath = @SystemDir

    ConsoleWrite('Before: ' & $sPath & @CRLF)
    ConsoleWrite('After : ' & _WinAPI_PathUnExpandEnvStrings($sPath) & @CRLF)