If you want to convert a short 8.3 filename to its long file name, try something like this:
PS> (Get-Item "$env:systemdriveprogra~1").Name Program Files
If you want to convert a short 8.3 filename to its long file name, try something like this:
PS> (Get-Item "$env:systemdriveprogra~1").Name Program Files