Returns file path without end back or forward slash
#include "String and File String.au3" _FilePath( $sFile ) |
$sFile | File or url name with path |
$bToLower | Convert path to lower string for easy comparing |
string value | File path without backslash or forward slash |
_FileComparePaths, _FileAddPath, _FileSetPath
_FilePath( "c:\documents\mybook.doc" ) ; "c:\documents"
_FilePath( "https://www.mywebsite.com/mybook.pdf" ) ; "https://www.mywebsite.com"