Class library SPFileExplorerExtension adds "Copy Link" functionality of Sharepoint modern document library view
into Windows File explorer:
Works on files and folders.
Menu options are:
- Copy Link - returns link to the document in DocID format (Document ID) or link to the folder in Path format (emulates behavior of web explorer)
- Copy Path - returns link to the document in Path format
- Open location in web browser - Opens the location in Sharepoint Web Explorer, using default browser.
Required NuGet packages (install them with Install-Package): SharpShell SharpShellTools ServerRegistrationManager Sharepoint.Client Sharepoint.Client.Runtime
For development testing can be used "ServerManager.exe", to install and register the server (x64) and to try it on objects on J, K or L mapped drives.
It is assumed that J, K,and L are Sharepoint mapped network drives and the menu is shown only on them. This can be changed (very simply) to any other mapped drives, and any other URLs. (i.e. I've put contoso.com).
Tested with Windows 10 and Sharepoint 2019. Should also work with Sharepoint 2016, because of version of Sharepoint.Client.
This is for on-premises Sharepoint servers. I didn't test it with Sharepoint Online, and I don't think it would work, because it is using CSOM.
Further info on making the installation (msi file) can be found on this link: https://www.codeproject.com/Articles/653780/NET-Shell-Extensions-Deploying-SharpShell-Servers