# User-defined Tools

**URL:** https://community.mp3tag.de/t/user-defined-tools/966
**Category:** FAQ (Frequently Asked Questions)
**Created:** [April 16, 2004, 6:56am UTC](https://community.mp3tag.de/t/user-defined-tools/966 "2004-04-16T06:56:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 16, 2004, 6:56am UTC](https://community.mp3tag.de/t/user-defined-tools/966/1 "2004-04-16T06:56:38Z")

</div>

[General information](https://community.mp3tag.de/t/tools/966/2) on user-defined Tools in Mp3tag

### Examples

- [Open files in Windows Explorer](https://community.mp3tag.de/t/tools/966/3)
- [Play/Enqueue files in Winamp](https://community.mp3tag.de/t/tools/966/4)
- [Web Browser](https://community.mp3tag.de/t/tools/966/5)
- [Folder Navigation](https://community.mp3tag.de/t/tools/966/6)
- [Re-encode WAV using `ffmpeg`](https://community.mp3tag.de/t/tools/966/7)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 16, 2004, 6:59am UTC](https://community.mp3tag.de/t/user-defined-tools/966/2 "2004-04-16T06:59:03Z")

</div>

### General Information on user-defined Tools

User-defined Tools are external applications that can be added via Options \> Tools to work directly from Mp3tag's main window via the context-menu of the file view (find more about this feature in the corresponding [help topic](https://docs.mp3tag.de/customization/options/tools).

You can also use the keyboard shortcuts Ctrl+1, Ctrl+2 to Ctrl+0 to trigger the first, second to tenth user-defined Tool on the selected files.

Parameters like `%_path%` should be in quotation marks, so paths and filenames with spaces are passed properly. An example of this would be `Parameter1 Parameter2 "%_path%"`

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 16, 2004, 7:14am UTC](https://community.mp3tag.de/t/user-defined-tools/966/3 "2004-04-16T07:14:13Z")

</div>

### Example — Open files in Windows Explorer

> **Note** : As of Mp3tag v3.12, use _File → Open in Explorer_ or the context menu to open files in Windows File Explorer.
> 
> The following is preserved as an example for other file explorers like Total Commander.

**Name**  
e.g., Windows-Explorer

**Path**  
You need to enter the path to `Explorer.exe` here, usually located at `C:\Windows\Explorer.exe`.

**Parameter**  
The parameters of Windows Explorer are always seperated by comma and space,  
e.g., **`/e, /select, "%_path%"`**

**`/e`** opens Windows Explorer in two columns. On the left is the directory tree, on the right the file view. Without this parameter, only the file view will be displayed.

**`/select`** marks the selected file. If there are several files selected in Mp3tag, only one of them will be marked.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 16, 2004, 7:25am UTC](https://community.mp3tag.de/t/user-defined-tools/966/4 "2004-04-16T07:25:03Z")

</div>

### Example — Play/Enqueue files in Winamp or foobar2000

The selected filenames should be enqueued in Winamp.

**Name**  
e.g. Enqueue in Winamp

**Path**  
You have to locate the path of the `Winamp.exe` file. E.g. `C:\Program Files\Winamp\Winamp.exe`

**Parameters for Winamp:**  
`/ADD "%_path%"`

**Parameters for foobar2000:**  
`/add "%_filename_ext%"`

And tick for all selected files.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [July 6, 2004, 7:14am UTC](https://community.mp3tag.de/t/user-defined-tools/966/5 "2004-07-06T07:14:23Z")

</div>

### Example — Web Search

Search web sites for informations about your artists or albums.

**Name**  
Name of the website, e.g., All Music or Google

**Path**  
You need to locate the path of the web-browser executable, e.g., `"C:\Program Files\Mozilla Firefox\firefox.exe"`.

Now some examples:

**Parameter for Artist search on [Allmusic.com](http://Allmusic.com):**  
`http://www.allmusic.com/search/artist/$replace(%artist%, ,+)`

**Parameter for [Google.com](http://Google.com):**  
`http://www.google.com/search?q="$replace(%artist%, ,+,&,+)"`

**Parameter for Google Images:**

```auto
https://www.google.com/images?q="$replace(%artist% %album%, ,+,&,'%26',?,'%3F')"

```

You can of course add many more websites and if you find something interesting, please post them.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [July 17, 2007, 6:55am UTC](https://community.mp3tag.de/t/user-defined-tools/966/6 "2007-07-17T06:55:22Z")

</div>

### Example — Folder Navigation

Here is a trick to improve the navigation a little. This will give you the possibility to double click on a file in Mp3tag and open it's folder in Mp3tag.

**Name**  
Browse folder

**Path**  
Please locate the path of your `Mp3tag.exe`

**Parameter**  
`/fp:"%_folderpath%"`

Finally you must select Browse folder as default program on double click.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 6, 2022, 7:55am UTC](https://community.mp3tag.de/t/user-defined-tools/966/7 "2022-02-06T07:55:14Z")

</div>

### Example — Re-encode WAV using `ffmpeg`

Some WAV files [have an invalid structure](https://community.mp3tag.de/t/how-to-check-files-for-errors/44633) or extra junk bytes at some RIFF chunks so re-encoding the file might fix the problems.

You can use the excellent [ffmpeg](http://ffmpeg.org/download.html#build-windows) command line utility as a user-defined tool from within Mp3tag.

 ![Convert using ffmpeg as a user-defined tool](https://community.mp3tag.de/uploads/default/original/2X/3/3679a90c3551cfba7637bad0afac1901801a0905.png)

**Name**  
wav2wav

**Path**  
Please locate the path of your `ffmpeg.exe`

**Parameter**  
`-i "%_filename_ext%" "%_folderpath%\%_filename%_out.wav"`
