Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

3 Answers 3

Net use [drive letter] [unc path]

example:

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