1

On my desktop PC I have the folders:

D:\documents\Lightroom
D:\documents\Pictures

In order to work with my Lightroom catalog on my laptop, that only has a drive C: I created the folder C:\documents. Now I'm trying to create some sort of mapping so that I can use D:\documents on my laptop.

I've tried:

mklink /j D:\documents C:\Documents

But that gives me a cannot find path specified error message. Maybe because there is no D: to begin with.

How can I do this?

Rene
  • 141
  • 1
  • 4

2 Answers2

0

You could use the subst command:

subst D: C:\documents

Then you'll have a "drive" that is directly linked to the folder you specified and even shows up on the Explorer window.

Additionally, you could share the C:\documents folder and give it permission to your user only, then you could use the net use command to map it like a network drive with read/write permissions:

net use D: \\your_pc_name\documents

Hope that can help.

txtechhelp
  • 3,731
  • 1
  • 18
  • 21
  • Thanks, I've tried this but the folder and it's contents show up read-only. – Rene Oct 15 '16 at 08:44
  • If the `subst` command is making it show up read-only, have you checked the permissions of the folder, or run the command prompt with elevated privileges? – txtechhelp Oct 15 '16 at 09:47
  • When I open cmd as administator and run subst, I don't see d:\ in explorer, only in cmd. – Rene Oct 15 '16 at 11:03
0

This looks like a duplicate of How to make SUBST mapping persistent across reboots?

I tried the answers there, but subst and net use didn't work for me in all cases. In particular I had problems getting InstallShield X to see the mapped drive, even though cmd, powershell (standard/admin/32-bit/64-bit), and Windows Explorer could all see it.

The regedit answer from Ivo Flipse worked perfectly for me.

WileCau
  • 133
  • 4