Benutzer-Werkzeuge

Webseiten-Werkzeuge


powershell:externcommandps

Dies ist eine alte Version des Dokuments!


Externes Kommando ausführen

$inputPath = "Pfad zu den Quelldateien"
$outputPath = "Pfad zu den Ausgabedateien"
$ffmpegPath =  "Pfad zur ffmpeg.exe"
 
$Files = Get-ChildItem -Path $inputPath
 
Foreach($File in $Files)
{
    $Command = $ffmpegPath + "\ffmpeg.exe -i `"" + $File.FullName + "`" `"" +  $outputPath + "\" + $File.Name + ".mp3`""
    $Command
    Invoke-Expression -Command $Command
}

powershell/externcommandps.1489001423.txt.gz · Zuletzt geändert: 2017/03/08 20:30 von ronny

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki