This commit is contained in:
Markus Fleschutz 2021-10-23 11:02:20 +02:00
parent d4c81b01aa
commit 86f936df08

View File

@ -16,7 +16,7 @@ try {
if (-not(test-path "$TargetDir" -pathType container)) {
throw "Downloads folder at 📂$TargetDir doesn't exist (yet)"
}
"$PSScriptRoot/open-file-explorer.ps1" "$TargetDir"
& "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"