I am trying to connect to a remote computer from Windows cmd.exe. At first I was trying to cd to it, but then I discovered pushd. Now I am trying pushd to it with a UNC path, and the hostname is root, the ip address is 192.168.1.109. My problem is I don't know how to specify the hostname in the UNC, because I can't find examples on that anywhere. I have tried
pushd \\root@192.168.1.109\home
pushd \\192.168.1.109\home
pushd \\192.168.1.109\root\home
pushd \\root\192.168.1.109\home
pushd \\192.168.1.109@root\home
The first gives me "The system cannot find the path specified.", and the rest give me, "The network path was not found."
If only I could find clear examples of how to include a hostname (in this case "root") in a remote UNC path, or is there something else wrong here?
net use share
to connect the remote share to your computer. You can even use a drive letter.