是否可以在资源管理器窗口中以编程方式将文件夹添加到 Windows 10 快速访问面板? [英] Is it possible programmatically add folders to the Windows 10 Quick Access panel in the explorer window?
本文介绍了是否可以在资源管理器窗口中以编程方式将文件夹添加到 Windows 10 快速访问面板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
显然微软已经(在某种程度上)用快速访问项替换了收藏夹"Windows 资源管理器项.但我还没有找到一种以编程方式向其中添加文件夹的方法(在 Google 和 MSDN 上都没有).有没有办法做到这一点?
Apparently Microsoft has (sort of) replaced the "Favorites" Windows explorer item with the Quick Access item. But I haven't been able to find a way to programmatically add folders to it (neither on Google not MSDN). Is there no way to do this yet?
推荐答案
在powershell中有一个简单的方法(至少):
There is a simple way to do it in powershell (at least) :
$o = new-object -com shell.application
$o.Namespace('c:My Folder').Self.InvokeVerb("pintohome")
希望对你有帮助.
这篇关于是否可以在资源管理器窗口中以编程方式将文件夹添加到 Windows 10 快速访问面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文