# %\_path% not work in TCMD

**URL:** https://community.mp3tag.de/t/path-not-work-in-tcmd/66882
**Category:** Support
**Created:** [December 18, 2024, 12:26pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882 "2024-12-18T12:26:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dieme](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@dieme](https://community.mp3tag.de/u/dieme)
#### Post date: [December 18, 2024, 12:26pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/1 "2024-12-18T12:26:49Z")

</div>

[#1]  
MTTOOLSNAME=TotalCmd  
MTTOOLSPARAM=/o /p=r /r="%\_path%"  
MTTOOLSPATH=..\..\..\..\Sistema\TotalCmd\TOTALCMD64.EXE  
MTTOOLSINST=0

Why %\_path% not work in this tool?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 18, 2024, 12:41pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/2 "2024-12-18T12:41:02Z")

</div>

Maybe (untested!) you need to write  
`MTTOOLSPARAM=/o /p=r /r="%%_path%%"`  
or  
`MTTOOLSPARAM=/o /p=r /r=%_path%`

---

<div class="post-metadata">

### Author: ![dieme](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@dieme](https://community.mp3tag.de/u/dieme)
#### Post date: [December 18, 2024, 12:45pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/3 "2024-12-18T12:45:09Z")

</div>

> [@LyricsLover](#):
>
> `MTTOOLSPARAM=/o /p=r /r="%%_path%%"`  
> or  
> `MTTOOLSPARAM=/o /p=r /r=%_path%`

also this suggest not work.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 18, 2024, 12:45pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/4 "2024-12-18T12:45:55Z")

</div>

Please show us a [screenshot](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2) from your above settings window.

---

<div class="post-metadata">

### Author: ![dieme](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@dieme](https://community.mp3tag.de/u/dieme)
#### Post date: [December 18, 2024, 12:58pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/6 "2024-12-18T12:58:20Z")

</div>

MTTOOLSPARAM=/o /p\u003dr /r\u003d"%\_path%"  
this work, problem has =.  
ty.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 18, 2024, 12:58pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/7 "2024-12-18T12:58:58Z")

</div>

~~Again: Please show us a screenshot.~~

The problem occurs if you manipulate the `tools.ini` file directly.  
(You should not change it directly!)

If you enter the parameters in Mp3tag for Tools like this:  
`/o /p=r /r="%_path%"`  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/a/3/a3d561575fdd44df7de2c7fea72025321be23057.png)

Mp3tag translate it automatically and reusable to  
`MTTOOLSPARAM=/o /p\u003dr /r\u003d"%_path%"`

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 18, 2024, 1:14pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/8 "2024-12-18T13:14:04Z")

</div>

Just for [completeness](https://www.ghisler.ch/wiki/index.php/Command_line_parameters):

The used command line parameters for Total Commander are  
`/O` _If Total Commander is already running, activate it and pass the path(s) in the command line to that instance (overrides the settings in the configuration dialog to have multiple windows)_

`/P=` _Sets the active panel at program start: /P=L left, /P=R right. Unfortunately this does not work (v6.53) with the Parameter [/O](https://www.ghisler.ch/wiki/index.php?title=Command_line_parameters#/O) currently._  
-\> The command line wiki page seems to be pretty outdated, TC is currently available as v11.03 stable and v11.50rc3 beta

`/R=` _Set path right window_

---

<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: [January 17, 2025, 1:15pm UTC](https://community.mp3tag.de/t/path-not-work-in-tcmd/66882/9 "2025-01-17T13:15:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
