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

link|improve this question
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

3 Answers

Net use [drive letter] [unc path]

example:

net use z: \\servername\share$
link|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
feedback

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.

link|improve this answer
feedback

"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.

link|improve this answer
feedback