Check out example codes for "how can we open file manager by html". It will help you in understanding the concepts better.

Code Example 1

<a href="file:///C:\Programs\sort.mw">Link 1</a><a href="file:///C:\Videos\lecture.mp4">Link 2</a>

Learn ReactJs, React Native from akashmittal.com