I have one of the original Surface Pro tablets. I love it. It’s as powerful as my last laptop, but it can also work as a tablet. At home, I put it in a docking station with three monitors attached and use it like a desktop. The only problem with it is that it only came with 100 GB on the internal “hard drive” and that space has to include the operating system.
I’ve installed a 128 GB SDXC on the tablet itself, and a 500GB external drive attached to the docking station. I have plenty of space to store files like documents, photos, videos and music, but there just isn’t a lot of space on the main “hard drive” and in most cases large software packages like Visual Studio will not install on a removable device.
I already have Visual Studio 2013 installed, but I want to install the Visual Studio 2015 Preview as well. The preview will not install on a “removable” device. So, even though I have 62.9 GB free on my “D:” drive, I cannot install the preview on the “D:” drive because it is removable.
I understand the potential problems. I might remove the SDX card and then try to run Visual Studio, or worse, I might run Visual Studio and then remove the SDX card. I think I can remember to avoid doing that, so I’m going to circumvent the protection using a Symbolic Link. I understand the risk that I’m taking. Frankly, I don’t know exactly what’s going to happen, but I’m willing to take responsibility, so I’m going for it.
By creating what’s called a Directory Junction, I can create a folder on my “C:” drive that is actually stored on the “D:” drive.
The Windows command for creating symbolic links is MKLINK. The online help for the command is:
MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory Junction. Link specifies the new symbolic link name. Target specifies the path (relative or absolute) that the new link refers to.
So, I ran the following command:
C:\>mklink /J C:\DDrive D:\
and got this response:
Junction created for C:\DDrive <<===>> D:\
Now I’m going to install the preview in C:\DDrive\Program Files (x86)\Microsoft Visual Studio 14.0
I’ll let you know how it goes.