# need ideas on path formatting

**URL:** https://community.mp3tag.de/t/need-ideas-on-path-formatting/4981
**Category:** Support
**Created:** [June 6, 2007, 11:20pm UTC](https://community.mp3tag.de/t/need-ideas-on-path-formatting/4981 "2007-06-06T23:20:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Logan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/278dde/32.png) [@Logan](https://community.mp3tag.de/u/Logan)
#### Post date: [June 6, 2007, 11:20pm UTC](https://community.mp3tag.de/t/need-ideas-on-path-formatting/4981/1 "2007-06-06T23:20:35Z")

</div>

I have a directory structure that looks like: 

> \_work\_dir_ 
> 
> \Artist  
> \Album  
> _\Disc ##_  
> \track - title

where _work\_dir_ can vary depending on the drive that I am working from and where _Disc ##_ only applies to those albums that have more than one disc.

I currenty execute one of two actions to update the path:

 
1. Modifies %\_directory% to _Disc ##_ if there is more than one disc (checks either %totaldiscs% or \>1 on the right side of the / in %discnumber%) or to %album% if there is not. 
2. Updates the entire %\_filename% but it requires me to update the _work\_dir_ prior to execution. 

 Here's the question: How can I write an action that will modify the full path that takes into account the fact that the _work\_dir_ can vary?

---

<div class="post-metadata">

### Author: ![Logan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/278dde/32.png) [@Logan](https://community.mp3tag.de/u/Logan)
#### Post date: [June 14, 2007, 12:59am UTC](https://community.mp3tag.de/t/need-ideas-on-path-formatting/4981/2 "2007-06-14T00:59:31Z")

</div>

No ideas?

Florian-

 

Is there any way to get \ __workingdir_ or \__ workingpath_ as scripting options?

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:20pm UTC](https://community.mp3tag.de/t/need-ideas-on-path-formatting/4981/3 "2026-02-09T12:20:20Z")

</div>


