# Help defining a fileset

**URL:** https://www.finalbuilder.com/forums/t/help-defining-a-fileset/987
**Category:** Discussion
**Created:** [September 30, 2008, 4:25am UTC](https://www.finalbuilder.com/forums/t/help-defining-a-fileset/987 "2008-09-30T04:25:46Z")
**Posts on this page:** 2
**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: [September 30, 2008, 4:25am UTC](https://www.finalbuilder.com/forums/t/help-defining-a-fileset/987/1 "2008-09-30T04:25:46Z")

</div>

Hi,

&nbsp;

I'm trying to limit my results when defining an iteratorPackage. I'm doing this to work out the path of the package i'm about to compile. I'm using the action Fileset Define.

Anyway, if i define the fileset recursively using the package name %iteratorPackage% which is hslSystem110.dpk i get this result.

D:\Projects\01 Components\5.0\hslSystem\hslSystem110.dpk  
D:\Projects\01 Components\5.1\hslSystem\hslSystem110.dpk  
D:\Projects\01 Components\6.0\hslSystem\hslSystem110.dpk  
D:\Projects\01 Components\6.1\hslSystem\hslSystem110.dpk  
D:\Projects\01 Components\9.9\hslSystem\hslSystem110.dpk

I only want to get the path of the file when it's at a specific version - i.e. i want to get the path when the version is 9.9. I'm trying to limit my results by using wildcards. such as:

\*9.9\*%packageIterator%

but it's not working. I've tried many different formats but none would return a result. Could someone help me out here?

By the way I've got the base directory as D:\Projects

Cheers,

Cam

---

<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: [October 3, 2008, 3:56am UTC](https://www.finalbuilder.com/forums/t/help-defining-a-fileset/987/2 "2008-10-03T03:56:28Z")

</div>

Hi Cameron,   
  
 Apologies for the delay in responding to your post, I’ve added a new Filter to FileSet’s that will allow you filter out the versions that you do not need. We’ll have a new test build available shortly.   
  
 Regards,   
 Paul.
