Update 'Convert-ToWave.ps1'

This commit is contained in:
Maff 2019-04-29 13:00:22 +00:00
parent a01ae708d6
commit 518c8f3381
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
$basepath="."
$in_put="$basepath/Input"
$output="$basepath/Output"
$ffmpeg=Get-Command ffmpeg
$ffmpeg=Get-Command -ErrorAction SilentlyContinue ffmpeg
if ($ffmpeg -eq $null) {
$ffmpeg="$basepath/ffmpeg.exe"
$ffmpeg="$basepath/ffmpeg"
}
$toconvert=Get-ChildItem "$in_put/"
$toconvert|%{