Home
Sign Up
Sign In
V2EX
›
问与答
有大佬使用过 powershell 获取快捷方式的文件信息吗?
fanchenio
·
Oct 20, 2022
· 1152 views
This topic created in 1345 days ago, the information mentioned may be changed or developed.
Get-WmiObject win32_shortcutfile -filter "name='C:\\Users\\admin\\Desktop\\迅雷.lnk'" | Format-List -Property *
我用上面的代码可以获取到这个快捷方式的目标,但是我还想获取目标后面的那个参数,有可能获取到吗?
如图。
就是目标里面,真实路径后面的参数,能否获取到?
获取
参数
快捷
lnk'
1 replies
•
2022-10-20 12:32:39 +08:00
1
brucmao
Oct 20, 2022
https://www.tenforums.com/general-support/185138-powershell-get-full-targetpath-shortcut.html
这个可以
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3682 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms ·
UTC 04:23
·
PVG 12:23
·
LAX 21:23
·
JFK 00:23
♥ Do have faith in what you're doing.
❯