Entfernt die Anführungszeichen am Anfang und Ende eines Pfades
#include <WinAPIShPath.au3>
_WinAPI_PathUnquoteSpaces ( $sFilePath )
$sFilePath | Der Pfad. |
Suche nach PathUnquoteSpaces in der MSDN Bibliothek.
#include <APIREgConstants.au3>
#include <WinAPIReg.au3>
#include <WinAPIShPath.au3>
Local $sPath = _WinAPI_AssocQueryString('.txt', $ASSOCSTR_COMMAND)
ConsoleWrite('Befehl: ' & $sPath & @CRLF)
ConsoleWrite('Pfad: ' & _WinAPI_PathUnquoteSpaces(_WinAPI_PathRemoveArgs($sPath)) & @CRLF)
ConsoleWrite('Argumente: ' & _WinAPI_PathGetArgs($sPath) & @CRLF)