--- Get-MorningSickness.ps1 2013/07/03 04:22:00 1 +++ Get-MorningSickness.ps1 2013/07/10 03:37:35 2 @@ -22,7 +22,7 @@ $procCount++ $pcntCmplt = [int][math]::round( ( $procCount / ($mp3Results.Length + 1) )*100) - $saveFullName = Join-Path $savePath ($_.title + ".mp3") + $saveFullName = Join-Path $savePath (($_.title -replace ":|\?|/|\\|\||\*|<|>|""", "-") + ".mp3") Write-Progress -Activity "Downloading..." -Status $_.title -CurrentOperation "Progress: $($pcntCmplt)%" -PercentComplete $pcntCmplt if ( $DebugPreference -ne "SilentlyContinue" ) { Write-Debug "Sleep for 1 seconds"