Is it possible programmatically add folders to the Windows 10 Quick Access panel in the explorer window?

前端 未结 9 899
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 12:18

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 ad

9条回答
  •  爱一瞬间的悲伤
    2020-11-28 12:47

    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")
    

    Hope it helps.

提交回复
热议问题