Jump to content

Search the Community

Showing results for tags 'FileCopy _FileListToArray x86'.

  • 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. OK... this is a very weird error. Or it's some sort of limitation I have never encountered before. I'm using Windows 7 x64. I was having trouble using FileCopy in an x86 autoit exe. But I noticed it worked in an x64 autoit exe. In my x86 Autoit exe it seems that many files will fail to copy. At least from the directories I am trying to copy... which reside in the Windows directory. But when I launch the same script fom my x64 Autoit exe they all copy just fine. Maybe it is just me? Or is it a limitation? Is there a workaround without having to compile an x86 and x64 version of my script? Here is a quick sample I put together using _FileListToArray: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <File.au3> #include <Array.au3> $DirList = @WindowsDir & '\System32\Drivers' MsgBox(0,'Get File List From...',@WindowsDir & '\System32\Drivers') $Drivers = _FileListToArray($DirList, '*.*') _ArrayDisplay($Drivers) Please test this on your own systems by compileing both an x86 and a x64 exe. Let me know if you get any differences. Thanks! Siginet
×
×
  • Create New...