# madExcept EXE location

**URL:** https://www.finalbuilder.com/forums/t/madexcept-exe-location/221
**Category:** Discussion
**Created:** [October 10, 2006, 5:43am UTC](https://www.finalbuilder.com/forums/t/madexcept-exe-location/221 "2006-10-10T05:43:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jswager](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jswager/32/26_2.png) [@jswager](https://www.finalbuilder.com/forums/u/jswager)
#### Post date: [October 10, 2006, 5:43am UTC](https://www.finalbuilder.com/forums/t/madexcept-exe-location/221/1 "2006-10-10T05:43:56Z")

</div>

Using FinalBuilder 4.1.0.199   
  
I know that I can set the madExcept EXE location from the Tools | Options | Compilers | MadExcept page. That works great.  
  
But I’m building two different products that use different versions of MadExcept and I want to change which EXE I use based on the build. I’m betting that there’s a GetOptionsObject(“madExcept”) (or something like it) that I can manipulate properties on. What would the values be in this particular case?  
  
In general - for other actions with option objects - how can I tell what the name of the Options Object and how do I get a list of the property names? I found that some of the object options are declared as global objects and appear when you do code-insight dropdown - but some seem to be missing (although I did find MadExcept). I’m hoping that once I get to the property names, the explanantion will be obvious (cross fingers). I found a list of some objects and properties in “Accessing the Options settings via scripting”, but it seemed to be a far from a complete list. Is there a text file or help file that I can snoop around in?  
  
Thanks,  
Jason Swager

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [October 10, 2006, 7:34am UTC](https://www.finalbuilder.com/forums/t/madexcept-exe-location/221/2 "2006-10-10T07:34:46Z")

</div>

Hi Jason,  
  
This is the code for MadExcept to change the location:  
  
dim opt  
opt = GetOptionsObject(“MadExcept”)  
opt.MadExceptLocation = "c:\new path…"  
  
Basically, you should let the code completion engine guide you. And if it doesn’t, then it’s something we need to fix 🙂  
So, for example, on the 3rd line typing opt. you should get a list of the available properties of the MadExcept options object. You might be a little out of date with your version too if you don’t see it, the latest FB4 build is:  
[https://www.finalbuilder.com/downloads/finalbuilder/420/FB420\_299.exe](https://www.finalbuilder.com/downloads/finalbuilder/420/FB420_299.exe)  
  
cheers,  
.t8

---

<div class="post-metadata">

### Author: ![jswager](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jswager/32/26_2.png) [@jswager](https://www.finalbuilder.com/forums/u/jswager)
#### Post date: [October 11, 2006, 5:35am UTC](https://www.finalbuilder.com/forums/t/madexcept-exe-location/221/3 "2006-10-11T05:35:46Z")

</div>

Yep - that works just fine. Thanks!
