_FileSetPath

Returns file name with path added or changed

#include "String and File String.au3"
_FileSetPath( $sFile ,$sPath [, $bUrl = False ] )

parameters

$sFile File name
$sPath Path to add or change
$bUrl True = Url, False = File path

return value

string value File name with path added or changed

related

_FilePath, _FileAddPath

examples

_FileSetPath( "c:\documents\mybook.doc", "c:\my documents" ) ; "c:\my documents\mybook.doc"

_FileSetPath( "https://www.mywebsite.com/mybook.pdf", "http://www.theweb.org", True ) ; "http://www.theweb.org/mybook.pdf