# Filespec option in Perforce Submit

**URL:** https://www.finalbuilder.com/forums/t/filespec-option-in-perforce-submit/1107
**Category:** Discussion
**Created:** [February 11, 2009, 8:19am UTC](https://www.finalbuilder.com/forums/t/filespec-option-in-perforce-submit/1107 "2009-02-11T08:19:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kreiner](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/7ea924/32.png) [@kreiner](https://www.finalbuilder.com/forums/u/kreiner)
#### Post date: [February 11, 2009, 8:19am UTC](https://www.finalbuilder.com/forums/t/filespec-option-in-perforce-submit/1107/1 "2009-02-11T08:19:35Z")

</div>

&nbsp;

Hi,

I noticed this comment in the release notes for FB 6.2.0.1265

**Bug - Perforce Submit - Variables can now be used in FileSpec field.**

Can you give some examples of what should work in that field?

I tried Perforce style filters (//depot/Foo/...) and paths with wildcards but couldn't get either to work.

Is it only to be used to filter by file extention? (e.g. \*.txt)

Thanks!

-Kurt

&nbsp;

---

<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: [February 12, 2009, 12:18pm UTC](https://www.finalbuilder.com/forums/t/filespec-option-in-perforce-submit/1107/2 "2009-02-12T12:18:47Z")

</div>

Hi Kurt,   
  
 \> Is it only to be used to filter by file extention? (e.g. \*.txt)   
  
 Yes, only file specs are supported (such as _.txt, or File_.txt). The fix ‘Variables can now be used in FileSpec field’ relates to the use of FinalBuilder variables in the FileSpec field (i.e. %MyFileSpec%).   
  
 Regards,   
 Paul.
