Jump to content

Search the Community

Showing results for tags 'dircopy options'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


  • 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


Last Updated

  • Start


Filter by number of...


  • Start






Found 1 result

  1. OK I have a snip-it of code that worked fine until I attempted to use it in my main script. I have determined that the issues are from permissions and I am looking to see if there is an option for DirCopy to allow it to respond yes to any prompts since I have already setup everything around DirCopy it would save me a bit of time. Here is the snip-it: Func _Dir_Copy_Progress($sSourceFolder, $sDestFolder) Local $ipct DirRemove($sDestFolder, 1) Local $iSourceSize = DirGetSize($sSourceFolder), $iDestSize Local $pid = Run(@AutoItExe & ' /AutoIt3ExecuteLine "DirCopy(''' & $sSourceFolder & ''', ''' & $sDestFolder & ''')"') ProgressOn("Copy Progress", "Please Wait...") Do $iDestSize = DirGetSize($sDestFolder) $ipct = Int(($iDestSize / $iSourceSize) * 100) ProgressSet($ipct, $ipct & ' percent complete') Sleep(20) Until Not ProcessExists($pid) ProgressOff() EndFunc ;==>_Dir_Copy_Progress Since I have determined that this is a local windows client issue I am tempted to just create a function to take ownership of the local directory so that it doesn't prompt but was looking for the most efficient path first. Thanks for any assistance...
  • Create New...