# Datei in externem Programm aufrufen

**URL:** https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188
**Category:** Allgemein
**Created:** [August 20, 2019, 12:25pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188 "2019-08-20T12:25:07Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![BadWolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@BadWolf](https://community.mp3tag.de/u/BadWolf)
#### Post date: [August 20, 2019, 12:25pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/1 "2019-08-20T12:25:07Z")

</div>

Hallo zusammen.  
ich möchte mp3-Dateien in einem externen Programm aufrufen und weiß nicht, wie ich die Parameter setzen soll. Folgendes habe ich versucht:  
Ich will eine Datei in Audacity öffnen und habe für das Tool als Parameter %\_folderpath%%\_filename% eingegeben. Im Pfad steht jetzt z.B. '\SPEEDPORT:\share\Musik\Jazz\Charlie Parker' und als Dateiname 'Riff Raff - Charlie Parker.mp3'. Sende ich diese Parameter jetzt an Adacity, wird die Datei nicht erkannt und ich bekomme Fehlermeldungen:  
 ![Fehler%201](https://community.mp3tag.de/uploads/default/original/2X/3/3768f98a3aeddd4691d61b9312f522868de2d3fc.png)  
 ![Fehler%202](https://community.mp3tag.de/uploads/default/original/2X/4/4d666940ef0315385813ac61701dda2fcb07157e.png)  
usw.

Offensichtlich interpretiert Audacity das Leerzeichen im Dateinamen als Trennzeichen für verschiedene Dateien. Wie kann ich das verhindern?

---

<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: [August 20, 2019, 12:28pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/2 "2019-08-20T12:28:30Z")

</div>

Meiner Ansicht nach ist "SPEEDPORT:" illegale Dateinamensyntax.  
Vor dem Doppelpunkt darf nur 1 Buchstabe stehen (z.B. "z:").  
Oder es muss ein Netzwerkpfad sein mit nur Rückwärtsschrägern, aber 2 zu Beginn.

---

<div class="post-metadata">

### Author: ![BadWolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@BadWolf](https://community.mp3tag.de/u/BadWolf)
#### Post date: [August 20, 2019, 12:31pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/3 "2019-08-20T12:31:41Z")

</div>

Da gehören auch zwei Backslashes vor und der Doppelpunkt gehört da nicht hin. Ich habe das auch garnicht eingegeben und weiß auch nicht, wie das jetzt dahin gekommen ist.Die Syntax ist völlig richtig und funktioniert bei anderen Programmen auch.

---

<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: [August 20, 2019, 12:37pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/4 "2019-08-20T12:37:51Z")

</div>

> [@BadWolf](#):
>
> Ich habe das auch garnicht eingegeben und weiß auch nicht, wie das jetzt dahin gekommen ist

Es wäre natürlich viel leichter, wenn du einen Dump zeigen würdest von der Definition des Tools und nicht die Fehlermeldung, aus der man nicht auf die Ursache schließen kann.

Vielleicht ist ja sowas besser:  
`"%_path%%_filename_ext%"`  
(die Anführungsstriche bitte mit übernehmen)

Hier ist ein Export-Script, um Dateien in Audacity zu übernehmen:

> [@Send tracks to Audacity with an export script](https://community.mp3tag.de/t/send-tracks-to-audacity-with-an-export-script/18019):
>
> The Mp3tag export feature can be used to create and run scripts using the metadata of the selected tracks. I call such MTE scripts Export-Tools. Attached is an Export-Tool which creates a VBS script that causes selected tracks to be imported by Audacity. The VBS script is executed if the user clicks "Yes" when asked "Display Export file now?" after exporting is complete. It deletes itself when executed successfully. Some requirements: Windows PowerShell must be installed (it is native to …

Und hier auch was zu Interaktion der beiden Programme:

> [@\[X\] Incorrect Tools behavior](https://community.mp3tag.de/t/x-incorrect-tools-behavior/17932):
>
> I have this quite long running problem with Mp3tag in conjunction with Audacity. I have described it already on Audacity's forum: [http://forum.audacityteam.org/viewtopic.ph...49&p=304479](http://forum.audacityteam.org/viewtopic.php?f=46&t=91149&p=304479) [so this post will be a slight rework of that old post from that link] The problem comes down to this: Tools \> Option \> Tools defined as Name: Audacity [not important] Path: C:\Program Files (x86)\Audacity\audacity.exe Parameter: "%\_PATH%" [This Mp3tag Option has been a subject of this helpful post: [/t/…](https://community.mp3tag.de/t/17592/1)

---

<div class="post-metadata">

### Author: ![BadWolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@BadWolf](https://community.mp3tag.de/u/BadWolf)
#### Post date: [August 20, 2019, 3:19pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/6 "2019-08-20T15:19:12Z")

</div>

![Einstellungen%20Tool](https://community.mp3tag.de/uploads/default/original/2X/8/893e6632606b8792287c0649c55af6739e192176.png)  
So ist das richtig. Ich habe ein wenig rumprobiert und dann waren noch die Anführungszeichen drin.

---

<div class="post-metadata">

### Author: ![BadWolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@BadWolf](https://community.mp3tag.de/u/BadWolf)
#### Post date: [August 20, 2019, 3:35pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/7 "2019-08-20T15:35:50Z")

</div>

> [@ohrenkino](#):
>
> "%\_path%%\_filename\_ext%"

Das funktioniert auch nicht.  
 ![Fehler%203](https://community.mp3tag.de/uploads/default/original/2X/9/91ae8ceb8c96fb625abde49d2586c7890fdaa731.png)

 ![MP3Tag-Snip](https://community.mp3tag.de/uploads/default/original/2X/c/ca6c424010dff65292f505664b1057d026d8ce1c.png)

---

<div class="post-metadata">

### Author: ![BadWolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@BadWolf](https://community.mp3tag.de/u/BadWolf)
#### Post date: [August 20, 2019, 3:43pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/8 "2019-08-20T15:43:44Z")

</div>

Ich hab's jetzt gefunden:  
"%\_path%"  
so geht's.

Viele Dank für eure Behühungen.

---

<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: [September 19, 2019, 3:52pm UTC](https://community.mp3tag.de/t/datei-in-externem-programm-aufrufen/46188/9 "2019-09-19T15:52:57Z")

</div>

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