-1

I tried to map disk D with the next command in Command Prompt "net use Y: \ComputerName\D$" and I get errors. Can you help me with the correct syntax? But if I want to map a folder let's say Share from disk D. When I map disk D from Explorer with Map Network Drive utility everythings is fine, but not when I am trying with cmd.

Stelian
  • 1
  • 1

1 Answers1

0

The correct syntax is:

net use Y: \\ComputerName\D$

You were missing a Backslash " \ ". Maybe you want to add the additional parameter /p to map the network drive permanent.

and I get errors

Which you sadly did no tell us.

bjoster
  • 4,805
  • 5
  • 25
  • 33