Map drive with windows 10

How do I map public folder in windows 10? It shows error network path not found.

Windows 7 I shared as follows “\wdhostname\public” then it map without any credentials.

This may help

Thank you for your response. But the problem I couldn’t find the device in my network.