# Set XCopy.XCopyMode at runtime?

**URL:** https://www.finalbuilder.com/forums/t/set-xcopy-xcopymode-at-runtime/1273
**Category:** Discussion
**Created:** [July 30, 2009, 4:24am UTC](https://www.finalbuilder.com/forums/t/set-xcopy-xcopymode-at-runtime/1273 "2009-07-30T04:24:20Z")
**Posts on this page:** 3
**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: [July 30, 2009, 4:24am UTC](https://www.finalbuilder.com/forums/t/set-xcopy-xcopymode-at-runtime/1273/1 "2009-07-30T04:24:20Z")

</div>

I want to set the XCopyMode property, of the XCopy action, at runtime and the property is of type TFBXCopyMode, which I assume is an enum but I can't find any documentation on it.

Can anyone point me to the documentation or tell me the possible values?

Thanks.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [July 31, 2009, 1:30am UTC](https://www.finalbuilder.com/forums/t/set-xcopy-xcopymode-at-runtime/1273/2 "2009-07-31T01:30:19Z")

</div>

Hi Shane,   
  
 The possible values for XCopyMode are:   
  
 mdNormal   
 mdRecursive   
 mdTest   
 mdDirStructure   
  
 If you type 'Action.XCopyMode = ’ into the script editor and press Ctrl-Space you should get the code completion dialog which should have the 4 values listed.   
  
 Regards,   
 Paul.

---

<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: [July 31, 2009, 10:22am UTC](https://www.finalbuilder.com/forums/t/set-xcopy-xcopymode-at-runtime/1273/3 "2009-07-31T10:22:25Z")

</div>

Thanks Paul.
