Hi just want to ask why am I getting the return success value of destination path "C:\yahoo\1" ?
#include <MsgBoxConstants.au3>
#include <WinAPIFiles.au3>
#include <WindowsConstants.au3>
#include <WinAPI.au3>
Example()
Func Example()
Local $sFileSaveDialog = FileSaveDialog("Choose a filename.", "", "All Files(*.*)", $FD_PATHMUSTEXIST + $FD_MULTISELECT)
$SaveDir = FileCopy($sFileSaveDialog, "", $FC_OVERWRITE)
$GetPath = _WinAPI_GetFullPathName($sFileSaveDialog)
; Display the current working directory.
MsgBox($MB_SYSTEMMODAL, "", "The current working directory: " & @CRLF & $GetPath)
$sChangeDir = FileChangeDir("C:\yahoo") ;--> Path I want to get "C:\yahoo"
$GetPath1 = _WinAPI_GetFullPathName($sChangeDir)
If $sChangeDir = 0 Then
MsgBox($MB_SYSTEMMODAL, "", "Error")
Exit
Else
MsgBox($MB_SYSTEMMODAL, "", "Succes" & @CRLF & $GetPath1) ;--> Path I got "C:\yahoo\1"
EndIf
EndFunc ;==>Example
I ran the example in helpfile and its working fine, is this a bug???