# Mp3tag CLI - /add-Befehl

**URL:** https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317
**Category:** Allgemein
**Created:** [December 19, 2019, 3:35pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317 "2019-12-19T15:35:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Sheldon2019](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@Sheldon2019](https://community.mp3tag.de/u/Sheldon2019)
#### Post date: [December 19, 2019, 3:35pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/1 "2019-12-19T15:35:47Z")

</div>

Hallo,

wie lautet die Syntax zur Verwendung des  
/add -Befehls in Verbindung mit /fp und /fn?

Ein kurzes Beispiel wäre hilfreich.

Gru0

Sheldon

---

<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 19, 2019, 6:24pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/2 "2019-12-19T18:24:14Z")

</div>

Die Syntax steht hier:

> **[Command Line Interface – Mp3tag Documentation](https://docs.mp3tag.de/command-line/)**
>
> Overview on command-line parameters to be used with Mp3tag. Mp3tag is the universal Tag Editor.

oder

> **[Command Line Interface – Mp3tag Documentation](https://docs.mp3tag.de/command-line/)**
>
> Overview on command-line parameters to be used with Mp3tag. Mp3tag is the universal Tag Editor.

Was genau funktioniert denn bei Dir bei der Verwendung dieser Parameter nicht?

---

<div class="post-metadata">

### Author: ![Sheldon2019](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@Sheldon2019](https://community.mp3tag.de/u/Sheldon2019)
#### Post date: [December 20, 2019, 4:47pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/3 "2019-12-20T16:47:37Z")

</div>

Danke für deine schnelle Reaktion.

Dort hatte ich die Syntax für /fp und /fn gefunden.  
Die exakte Syntax für /add fehlt jedoch.

Ich verwende AutoHotkey.  
Folgende Befehle funtionieren:

Run, %mp3ExePath% /fp:%fileDir%  
Run, %mp3ExePath% /fn:%filePath%

Folgende Befehle funtionieren nicht:

Run, %mp3ExePath% /add:%filePath%  
Run, %mp3ExePath% /fn:%filePath1% /add:%filePath2%  
Run, %mp3ExePath% /fp:%fileDir% /add:%filePath%

Daher meine Frage nach der korrelten Syntax!

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [December 20, 2019, 4:50pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/4 "2019-12-20T16:50:53Z")

</div>

Hier ist ein Beispiel für die Syntax:

> [@Using /fp: files are not ordered correctly](https://community.mp3tag.de/t/using-fp-files-are-not-ordered-correctly/42597/6):
>
> It's by design that previously removed files via Del or right-click "Remove" are relisted if the directory is read again. Regarding the sorting: are you loading a new folder via /fp: or are you adding a folder via /add /fp: or while holding the Ctrl key down?

---

<div class="post-metadata">

### Author: ![Sheldon2019](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@Sheldon2019](https://community.mp3tag.de/u/Sheldon2019)
#### Post date: [December 20, 2019, 4:58pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/5 "2019-12-20T16:58:22Z")

</div>

Auch dort finde ich leider keinen Hnweis auf die exakte Syntax. Bitte formuliert einen Aufruf wie von mir oben angegeben.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [December 20, 2019, 5:00pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/6 "2019-12-20T17:00:48Z")

</div>

> [@ohrenkino](#):
>
> or are you adding a folder via /add /fp:

> [@Sheldon2019](#):
>
> Run, %mp3ExePath% /fn:%filePath1% /add:%filePath2%

wird zu (vermutlich, kenne die Aufrufsyntax von dem Hotkey-Dings nicht)  
Run, %mp3ExePath% /fp:%filePath1%  
Run, %mp3ExePath% /add /fp:%filePath2%

---

<div class="post-metadata">

### Author: ![Sheldon2019](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@Sheldon2019](https://community.mp3tag.de/u/Sheldon2019)
#### Post date: [December 20, 2019, 5:11pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/7 "2019-12-20T17:11:12Z")

</div>

Ah! Das /add wird also vor /fp bzw. /fn gesetzt.  
Also ist die korrekte Syntax

für das Hinzufügen eines Verzeichnisses  
Run, %mp3ExePath% /add /fp:%fileDir%  
bzw.  
für das Hinzufügen einer Datei  
Run, %mp3ExePath% /add /fn:%filePath2%.

Richtig?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [December 20, 2019, 6:05pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/8 "2019-12-20T18:05:02Z")

</div>

Von der Reihenfolge her sollte es stimmen. Die übrige Syntax kann ich, wie gesagt, nicht beurteilen, da das eigentlich nichts mit MP3tag zu tun hat.

---

<div class="post-metadata">

### Author: ![Sheldon2019](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e9bcb4/32.png) [@Sheldon2019](https://community.mp3tag.de/u/Sheldon2019)
#### Post date: [December 22, 2019, 10:27am UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/9 "2019-12-22T10:27:29Z")

</div>

Hallo,

so funktioniert es!  
Herzlichen Dank für die schnelle Hilfe!

Ich wünsche allen ein frohes Weihnachtsfest  
und einen guten Rutsch ins neue Jahr!

Gruß

Sheldon

---

<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: [December 22, 2019, 4:40pm UTC](https://community.mp3tag.de/t/mp3tag-cli-add-befehl/47317/10 "2019-12-22T16:40:45Z")

</div>

A post was merged into an existing topic: [Größen der Album Cover automatisch ändern](https://community.mp3tag.de/t/grossen-der-album-cover-automatisch-andern/12512/43)
