Modern browsers do not support the file://
protocol on web pages for security reasons.
Webpart to a network drive

How to create a link from a webpart to a network drive from SharePoint online
-
Trevor Seward 11,511 Reputation points MVP
2020-12-14T23:04:28.893+00:00 1 additional answer
Sort by: Most helpful
-
JoyZ 17,931 Reputation points
2020-12-14T06:40:18.877+00:00 Hi @Mike Mazzie ,
In SharePoint online modern experience, we could use Text web part to insert a link as file://[folder link] format to the network drive then re-publish the page.(Please note this only works in IE browser.)
-----------------------------------Update---------------------------------------
Sorry to confuse you, please use file:// rather than File://.
Since mapping a network drive uses WebDav which missed in Chrome,so Chrome doesn't work.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
-
The linked worked great but after closing the SharePoint site and reopening the link does not work?
In order to get a better forum experience, we changed your answer to a comment.
I have updated my reply, please check it.