From 46335f2cb14c2568e119d505dee6681eed61ca0c Mon Sep 17 00:00:00 2001 From: Claude Toupin Date: Tue, 9 Jun 2026 22:37:53 -0400 Subject: [PATCH] Fix file name display to show basename instead of full path when using wildcard patterns --- Get-VideoInfo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Get-VideoInfo.ps1 b/Get-VideoInfo.ps1 index 7a5ac25..1a85583 100644 --- a/Get-VideoInfo.ps1 +++ b/Get-VideoInfo.ps1 @@ -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)) {