文件夹翻译为本地语言:What the %$#& is up with localized paths in Vista?
powershell 链接文件翻译为本地语言,powershell 都可以实现的话,应该可以找到类似的实现方法:
$FilePath = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Windows Defender Firewall with Advanced Security.lnk"
$ChildObj = Get-ChildItem $FilePath
$FldrName = $ChildObj.DirectoryName
$FileName = $ChildObj.Name
$Shell = New-Object -ComObject Shell.Application
$Folder = $Shell.Namespace($FldrName)
$File = $Folder.ParseName($FileName)
echo $($Folder.GetDetailsOf($File,0))