# GetObjectsObject for Robocopy, or any option

**URL:** https://www.finalbuilder.com/forums/t/getobjectsobject-for-robocopy-or-any-option/1676
**Category:** Discussion
**Created:** [December 30, 2010, 12:02pm UTC](https://www.finalbuilder.com/forums/t/getobjectsobject-for-robocopy-or-any-option/1676 "2010-12-30T12:02:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nelsonwolf](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/b9e5f3/32.png) [@nelsonwolf](https://www.finalbuilder.com/forums/u/nelsonwolf)
#### Post date: [December 30, 2010, 12:02pm UTC](https://www.finalbuilder.com/forums/t/getobjectsobject-for-robocopy-or-any-option/1676/1 "2010-12-30T12:02:29Z")

</div>

Hi,

I'm trying to use GetOptionsObject("Robocopy") to get the path out of my options, but I don't know the name of the property. &nbsp;Is there a way in script I could enumerate all the options objects and then enumerate all the properties? &nbsp;This way I wouldn't have to ask again if I need the values from a different option.

&nbsp;

Thanks!

-Nelson

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 30, 2010, 12:32pm UTC](https://www.finalbuilder.com/forums/t/getobjectsobject-for-robocopy-or-any-option/1676/2 "2010-12-30T12:32:09Z")

</div>

&nbsp;Hi Nelson

&nbsp;

There should be code completion for most options, however it seems it's missing for RoboCopy and possibly others, I'll get this looked at when the team gets back from vacation. I have attached a code completion xml file for Robocopy, save it to your FinalBuilder 7\CodeCompletion folder.&nbsp;

&nbsp;

This code will get you started :

&nbsp;

dim opt

set opt = GetOptionsObject("RoboCopy")

if not (opt is nothing) then

&nbsp;msgbox opt.RoboCopyPath

end if

&nbsp;

&nbsp;

&nbsp;

&nbsp;

[FBRoboCopyCC.xml](https://www.finalbuilder.com/forums/uploads/default/original/2X/9/9f666229aa9c7fe8002815f6e6bd2de64585e68f.xml) (471 B)
