是否可以以编程方式将文件夹添加到资源管理器窗口中的 Windows 10 快速访问面板? [英] Is it possible programmatically add folders to the Windows 10 Quick Access panel in the explorer window?

查看:25
本文介绍了是否可以以编程方式将文件夹添加到资源管理器窗口中的 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆