How to use UNC path correctly to share a folder on remote computer?

18,786

Try net help use for usage:

> net help use
The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]

Then try

net use x: \\computername\sharename
Share:
18,786

Related videos on Youtube

CSharper
Author by

CSharper

Updated on September 18, 2022

Comments

  • CSharper
    CSharper over 1 year

    I would like to know if somebody knows the correct syntax for giving a folder a share on remote network machine's folder. Please write a syntax you know for sure that it's working.

    This operation should be on CLI- command line I'm having an error messages when trying to use:

    net use x: \\someNetworkPath\
    

    I get errors like :system error 53 has occured The network path was not found

    I must say that in windows I can acess this network path.

    Important Note: I'm doing net use before because the Net share command do not know what is UNC Path as far as I know

    • snapshoe
      snapshoe about 11 years
      Do you have permission to the remote machine? How do you authenticate to it? Do you have local login to the remote machine? a domain login? Does the remote system have a share with the name that you're trying to connect to?
    • CSharper
      CSharper about 11 years
      1.I guess I have permission because through windows interface I can access it without any problem 2.I also do not see any credentials that I need to put in, but maybe it's doing it automatically 3.It don't have a name share I want to create one for it remotely. 4. Can you explain more about domain login I think it the type but not sure
  • CSharper
    CSharper about 11 years
    Thanks but I tried similar example as you wrote and didn't work