Entfernt den abschließenden Backslash von einem Pfad
#include <WinAPIShPath.au3>
_WinAPI_PathRemoveBackslash ( $sFilePath )
$sFilePath | Der Pfad von dem der Backslash entfernt werden soll. |
Suche nach PathRemoveBackslash in der MSDN Bibliothek.
#include <WinAPIShPath.au3>
Local $sPath = 'C:\Documents\'
ConsoleWrite('Vorher : ' & $sPath & @CRLF)
ConsoleWrite('Nachher: ' & _WinAPI_PathRemoveBackslash($sPath) & @CRLF)