Fix file name display to show basename instead of full path when using wildcard patterns
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Output '----------------------------------------'
|
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'
|
$iniPath = Join-Path $PSScriptRoot 'Get-VideoInfo.ini'
|
||||||
if (-not (Test-Path -LiteralPath $iniPath)) {
|
if (-not (Test-Path -LiteralPath $iniPath)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user