Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Useful Command-line Commands on Windows

we need to mape a network folder on 2008server and client is XP; we want to use the command line on windows XP

share|improve this question

marked as duplicate by Steven Monday, Iain, Shane Madden, mailq, pauska Aug 30 '11 at 7:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Net use [drive letter] [unc path]


net use z: \\servername\share$
share|improve this answer
Why the $ ? I don't believe it is a requirement, but you can use it to create "hidden" share, correct? – uSlackr Aug 30 '11 at 12:11
Yes, the "$" is for hidden resources. – user48838 Aug 30 '11 at 12:46

the syntax is Net Use x: \\servername\sharename. X can be replaced with drive letter not already in use. If a drive letter is already in use and you need to reuse it, try Net use x: /del to remove the mapping first.

share|improve this answer

"network folder on 2008server and client is XP"

If the XP account is different from the 2008 (server) account, then the "/user:[username]" option should also be included.

net use [drive letter] \\[servername]\[sharename] /user:[username]

It will then prompt for the password of the remote user on the server.

share|improve this answer