# Using variables in FileSet masks

**URL:** https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141
**Category:** Discussion
**Created:** [July 25, 2006, 2:08am UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141 "2006-07-25T02:08:17Z")
**Posts on this page:** 7
**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 25, 2006, 2:08am UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/1 "2006-07-25T02:08:17Z")

</div>

I am trying to generalize a project I initially developed for a client, and part of this process is removing specific project references and replacing them with variables loaded from input boxes. This way the project will work in a variety of situations.  
  
I did fine through all the steps right up until the last one when I replaced a hard-coded file mask in a FileSet with one containing an embedded variable. I went from “\Processed\0104\*.xml” to “\Processed\0%OrgID%\*.xml” but it won’t pick up any files even though OrgID is = 104.  
  
When I switch back to the erlier syntax it works fine. I even tried mucking around with different permutation of the mask, including embedding the whole thing in a variable and tinkering with the leading zero on 104. What am I missing here?

---

<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: [July 26, 2006, 6:20am UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/2 "2006-07-26T06:20:56Z")

</div>

Hi David,  
  
Thanks for brining this to our attention. It is a bug - variables were not being expanded in pattern masks.  
  
I’ve just checked in a fix which corrects the prolbem. A test build will be available later today (I’ll let you know.)

---

<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 26, 2006, 12:50pm UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/3 "2006-07-26T12:50:11Z")

</div>

Thanks Angus, I’ll check back later. Just for interest what timezone do times on the forum reflect, since we are presumably nearly 12 hours apart? It makes a difference to my determination of how recent your post was.

---

<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: [July 27, 2006, 12:56pm UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/4 "2006-07-27T12:56:16Z")

</div>

David,  
  
The timezones on the forum should reflect the settings you put in your own personal profile (go to My Profile -\> Account Settings.)  
  
We’re in eastern Australia (UTC+10.)  
  
Actually, there seems to be a bug in the forum where you need to set the time zone an hour short to get the correct local time (mine is currently set to UTC+9.) We will see if there’s a fix for this…  
  
I clean forgot to start a test build yesterday afternoon, sorry! I’ve just started one now (9am Thursday morning local time.)

---

<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: [July 27, 2006, 2:27am UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/5 "2006-07-27T02:27:44Z")

</div>

New test build with fileset mask fix:  
  
[https://www.finalbuilder.com/downloads/finalbuilder/410/FB410\_261.exe](https://www.finalbuilder.com/downloads/finalbuilder/410/FB410_261.exe)  
  
(Sorry again for the delay.)  
  
  
PS The bug I mentioned with the forum timezone seems to be that the forum software is applying Northern Hemisphere (US?) daylight savings time to everyone, so it may just be something that us Southerners will have to live with. :-).

---

<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 28, 2006, 2:04am UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/6 "2006-07-28T02:04:15Z")

</div>

That works great - thanks for your quick response. I’m off and running now. One last question, is there a runtime-only engine for FB projects, or do they have to run through the full development editor. The client has licensed two copies, but after I develop the projects I would like to be able to deploy them to other team members. A little like the difference between owning a compiler and distributing executables. I couldn’t find any reference in the documentation to one, but maybe I was looking in the wrong places.

---

<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: [July 29, 2006, 12:57pm UTC](https://www.finalbuilder.com/forums/t/using-variables-in-fileset-masks/141/7 "2006-07-29T12:57:35Z")

</div>

Hi David,  
  
There is a runtime only version, it’s called FBCMD. It’s installed in your FinalBuilder directory, but it’s licensing terms are the same as the FB IDE itself.  
  
.t8
