# XCopy doesn't include empty folders when working in recursive mode (/s)

**URL:** <https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648>\
**Category:** Bugs\
**Created:** [October 4, 2007, 2:53am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648 "2007-10-04T02:53:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![buildmaster](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/d9b06d/32.png) [@buildmaster](https://www.finalbuilder.com/forums/u/buildmaster)\
**Post date:** [October 4, 2007, 2:53am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/1 "2007-10-04T02:53:55Z")

</div>

Hi there,

I have found that when I use the XCopy action in recursive mode (/s) to copy the content of a folder and its’ subfolders any that are empty they are not copied to the destination path.

&nbsp;

I originally reported this back in April as a problem on FinalBuilder (Case 7206) but it doesn’t seem to have been resolved here either and I’ve just had a look at FB5.5

&nbsp;

The suggested work around of adding /E to either the "Extra Params At End" or "Extra Params At Start" properties of the action works but wouldn’t it be better to add this to the options tab.

&nbsp;

I had been given to believe that is was going to be resolved at some point.

&nbsp;

Any thoughts?

&nbsp;

Regards,

Nigel

&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:** [October 5, 2007, 1:20am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/2 "2007-10-05T01:20:18Z")

</div>

Hi Nigel,   
  
 This feature has been added to the latest FB 5.5 test builds. Sorry, I must have accidentally not emailed you about it.   
  
 The test build can be gotten from this URL:   
  
 [https://www.finalbuilder.com/downloads/finalbuilder/550/FB550\_424.exe](https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_424.exe)   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

**Author:** ![buildmaster](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/d9b06d/32.png) [@buildmaster](https://www.finalbuilder.com/forums/u/buildmaster)\
**Post date:** [October 8, 2007, 8:47am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/3 "2007-10-08T08:47:14Z")

</div>

Hi Angus,

Are there plans to add this 'fix' to Automise 2 as well? If so when is the next release planned?

Regards,

Nigel

---

<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:** [October 9, 2007, 1:16am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/4 "2007-10-09T01:16:20Z")

</div>

Hi Nigel,   
  
 Sorry! I totally missed that you were using Automise. Must have been distracted by the imminent weekend. Test build coming up.   
  
 - Angus

---

<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:** [October 9, 2007, 4:13am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/5 "2007-10-09T04:13:54Z")

</div>

Here’s an Automise 2 test build which includes the same feature. Sorry again for the delay.   
  
 [http://www.automise.com/downloads/automise/200/AT200\_147.exe](http://www.automise.com/downloads/automise/200/AT200_147.exe)   
  
 - Angus

---

<div class="post-metadata">

**Author:** ![buildmaster](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/b/d9b06d/32.png) [@buildmaster](https://www.finalbuilder.com/forums/u/buildmaster)\
**Post date:** [October 9, 2007, 12:42pm UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/6 "2007-10-09T12:42:16Z")

</div>

Angus,   
  
 I’ve just downloaded the test build and tried the new option on the XCopy action. Works fine now.   
 Thanks for the quick responce.   
 Any ideas when the the next official release will be?   
  
 Nigel

---

<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:** [October 10, 2007, 1:17am UTC](https://www.finalbuilder.com/forums/t/xcopy-doesnt-include-empty-folders-when-working-in-recursive-mode-s/4648/7 "2007-10-10T01:17:23Z")

</div>

Hi Nigel,   
  
Great to hear. Not sure about an official release at the moment, but probably not too long.  
  
Regards,   
  
Angus
