Windows 10 cmd/powershell: cd to a network share?
Solution 1:
1: You've got the syntax wrong: \\servername\ specifies a server, not a UNC-PATH.
You need to use \\servername\sharename as a minimum.
2: You can't do this with the command-prompt. You must map a network drive to it and use the drive letter in CMD.exe. It will work in PowerShell.
Solution 2:
What about a PowerShell Core solution? I was successfull using
cd Microsoft.PowerShell.Core\FileSystem::\\servername\sharename