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

前端 未结 9 916
爱一瞬间的悲伤
爱一瞬间的悲伤 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:25

    void PinToHome(const std::wstring& folder)
    {
        ShellExecute(0, L"pintohome", folder.c_str(), L"", L"", SW_HIDE);
    }
    

    that was the easy part, still unable to do an unpinfromhome

提交回复
热议问题