# Using Wilcard in Path for system.tag.browse?

**URL:** <https://forum.inductiveautomation.com/t/using-wilcard-in-path-for-system-tag-browse/32225>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 13, 2020, 4:17pm UTC](https://forum.inductiveautomation.com/t/using-wilcard-in-path-for-system-tag-browse/32225 "2020-02-13T16:17:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaspinall](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jaspinall](https://forum.inductiveautomation.com/u/jaspinall)\
**Post date:** [February 13, 2020, 4:17pm UTC](https://forum.inductiveautomation.com/t/using-wilcard-in-path-for-system-tag-browse/32225/1 "2020-02-13T16:17:02Z")

</div>

Hello There,

I am just wondering how I can take the following script and modify it to contain a wildcard in the search path. As it stands the script works but I would like to modify it so it searches through all folders within “[MyProject]Root/WellOne” instead of searching only in that single tag folder. I would like it to search through the child folders as well.

Is this possible to do?

Below is my script:

instances = []  
filter = “ _" + “GasMeter” + "_ ”  
myPath = ‘[MyProject]Root/WellOne’  
results = system.tag.browse(path = str(myPath), filter = {‘name’:filter})

for result in results.getResults():  
instances.append({“instanceStyle”:{“classes”:"",“instancePosition”: {}},“TagPath”: value + “/” + result[‘name’]})  
return instances

Many thanks

---

<div class="post-metadata">

**Author:** ![camatt3](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@camatt3](https://forum.inductiveautomation.com/u/camatt3)\
**Post date:** [February 13, 2020, 8:38pm UTC](https://forum.inductiveautomation.com/t/using-wilcard-in-path-for-system-tag-browse/32225/2 "2020-02-13T20:38:41Z")

</div>

See the “ **Code Snippet - Recursive Browse** ” section at the bottom of this page:  
[https://docs.inductiveautomation.com/display/DOC80/system.tag.browse](https://docs.inductiveautomation.com/display/DOC80/system.tag.browse)  
It will help you find tags in the child folders.
