Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I have machine A and a C$ share on machine B.

On machine B, I only have access to the share and nothing else (it is password protected). How can I mklink from machine A to the C$ share invoking username and password for C$?

share|improve this question

migrated from Oct 16 '12 at 13:27

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

First of all issue a standard NET USE command specifying the user name and password to the remote machine & share that you want to map to.

Then, issue

mklink /d \\<remote machine\<remote share <folder where you want to map the share>
share|improve this answer

You must log in to answer this question.