Jump to content

Search the Community

Showing results for tags 'filechangedir'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. 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???
×
×
  • Create New...