Removes the path portion of a fully qualified path and file
#include <WinAPIShPath.au3>
_WinAPI_PathStripPath ( $sFilePath )
$sFilePath | The path and file name. |
Search PathStripPath in MSDN Library.
#include <WinAPIShPath.au3>
Local $sPath = 'C:\Documents\Test.txt'
ConsoleWrite('Before: ' & $sPath & @CRLF)
ConsoleWrite('After : ' & _WinAPI_PathStripPath($sPath) & @CRLF)