# Irratic failure of Copy File(s) Method

**URL:** <https://www.finalbuilder.com/forums/t/irratic-failure-of-copy-file-s-method/4650>\
**Category:** Bugs\
**Created:** [February 29, 2008, 8:32am UTC](https://www.finalbuilder.com/forums/t/irratic-failure-of-copy-file-s-method/4650 "2008-02-29T08:32:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [February 29, 2008, 8:32am UTC](https://www.finalbuilder.com/forums/t/irratic-failure-of-copy-file-s-method/4650/1 "2008-02-29T08:32:15Z")

</div>

**Copying files** : **f:\** builds\ProjectComponents\Installer Support\CE\eWiFiDriver\English\P300Driver\Media\Disk\Package\P300DriverSetup.exe -\> **R:\** Build Daily\02-29\eWiFiDriver\Engineering Builds\eWIFiDriver\_DB3.0.17.5\Install\WM\Socket\_P300\_3.0.17.5.exe  
Failed to copy File : f:\builds\ProjectComponents\Installer Support\CE\eWiFiDriver\English\P300Driver\Media\Disk\Package\P300DriverSetup.exe -\> R:\Build Daily\02-29\eWiFiDriver\Engineering Builds\eWIFiDriver\_DB3.0.17.5\Install\WM\Socket\_P300\_3.0.17.5.exe  
**Win32 Error : The system cannot find the path specified**  
0 Files Copied.

&nbsp;

&nbsp;

&nbsp;

I am getting this error infrequently on about a dozen scripts.&nbsp;&nbsp; The funny thing is that the **Copy File(s)&nbsp;**method has the Force Directories checked, overwrite Read Only Files, and Fail if Zero Files Affected checked.&nbsp; And if I rerun the&nbsp;script it works no errors.&nbsp; But the next day it will fail&nbsp;on another Copy.&nbsp;Addition details even though&nbsp;I doubt it matters&nbsp;is that the f drive is local and the R drive is on the network.&nbsp; &nbsp;&nbsp;&nbsp;

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [March 2, 2008, 11:31am UTC](https://www.finalbuilder.com/forums/t/irratic-failure-of-copy-file-s-method/4650/2 "2008-03-02T11:31:50Z")

</div>

Hi David,   
  
 Thanks for your post, sorry to hear you’re having problems.   
  
 The intermittent nature of the problem makes me think that it may be to do with something else in your system interfering with Automise. Do you run any virus scanner or similar software?   
  
 An easy workaround for this is to use the “Retry Count” feature on the Runtime tab of the action to retry the operation multiple times before failing outright. This should bypass the intermittent failures.   
  
 Sorry I can’t be more helpful. If you can think of any factors which will help us reproduce this here, please let us know.   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [March 3, 2008, 6:07am UTC](https://www.finalbuilder.com/forums/t/irratic-failure-of-copy-file-s-method/4650/3 "2008-03-03T06:07:00Z")

</div>

I'll try that.&nbsp; Thanks.&nbsp;

&nbsp;

-- David.&nbsp;

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [March 13, 2008, 11:40am UTC](https://www.finalbuilder.com/forums/t/irratic-failure-of-copy-file-s-method/4650/4 "2008-03-13T11:40:07Z")

</div>

It turned out that the daily wiping of the harddrive with the complete uploading of the database was causing disk fragmentation.&nbsp; Which was the source of the copy errors apparently.&nbsp; So I now implemented at daily disk defrag at midnight.&nbsp;

&nbsp;

Thanks for your help.&nbsp;
