Fix file name display to show basename instead of full path when using wildcard patterns

This commit is contained in:
2026-06-09 22:37:53 -04:00
parent a057ab0d1d
commit 46335f2cb1
+1 -1
View File
@@ -123,7 +123,7 @@ try {
}
Write-Output '----------------------------------------'
Write-Output ('File Name: {0}' -f $Video)
Write-Output ('File Name: {0}' -f [System.IO.Path]::GetFileName($VideoPath))
$iniPath = Join-Path $PSScriptRoot 'Get-VideoInfo.ini'
if (-not (Test-Path -LiteralPath $iniPath)) {