Web applications are never able to get such info, as the browser blocks it.
You would have to use something else than, like a shared folder?
You might be interested in this windows uri i made to open the file explorer through a link. It could open a shared folder on the gateway? It requires to be installed on every client's pc tho.