Replaces folder names in a fully-qualified path with their associated environment string
#include <WinAPIShPath.au3>
_WinAPI_PathUnExpandEnvStrings ( $sFilePath )
$sFilePath | The path to be unexpanded. |
Success: | The unexpanded string. |
Failure: | Empty string. |
Search PathUnExpandEnvStrings in MSDN Library.
#include <WinAPIShPath.au3>
Local $sPath = @SystemDir
ConsoleWrite('Before: ' & $sPath & @CRLF)
ConsoleWrite('After : ' & _WinAPI_PathUnExpandEnvStrings($sPath) & @CRLF)