共计 378 个字符,预计需要花费 1 分钟才能阅读完成。
windows11 在默认情况下,会每日更新壁纸。有时候的壁纸很合心意,可以使用以下的获取方式:
PowerShell 查找桌面壁纸的位置
- 打开 Windows 搜索。
- 输入 PowerShell
- 通过单击该应用程序搜索结果中的以管理员身份运行来以提升权限启动 PowerShell
- 复制这个联合 PowerShell 命令:
$TIC=(Get-ItemProperty 'HKCU:\Control Panel\Desktop' TranscodedImageCache -ErrorAction Stop).TranscodedImageCache
[System.Text.Encoding]::Unicode.GetString($TIC) -replace '(.+)([A-Z]:[0-9a-zA-Z\\])+','$2'
- 粘贴该命令到 PowerShell 中,并按回车
- 然后会返回壁纸的地址

正文完