Reputation: 744
After reading that it is not possible to create an entry in quick access area of the windows 10 explorer programmatically at the moment i wanted to ask if there is a possibility with an API function or via registry to create a link to a folder in the navigation pane like Dropbox does after installation?
Thanks in advance for your help
Upvotes: 3
Views: 2778
Reputation: 29016
Little bit late, but its working fine for me, That's why adding an answer:
Toy can follow the instructions furnished in this Post: Creating a Link in the Left Pane of the File Explorer - like OneDrive or DropBox
, Copy those registry entries and save it as a file with .reg
extension and execute that file from your application if you need to change it from application. or else run that reg file from your system for Applying the changes.
For running registry files you can use the following code:
Process regeditProcess = Process.Start("regedit.exe", "/s yourRegistryFile.reg");
regeditProcess.WaitForExit();
Upvotes: 1