Tag Archives: Symbolic Link

Creating a Symbolic Link (Windows 10) for Uplay screenshots

If like me you sometimes reformat your computer now and again and as a result end up forgetting to backup your in-game screenshots you’ve taken over time because they’re spread out all over the place, or maybe you just simply like to have all your screenshots together, then this solution should help out.

As of writing there is no option in your Uplay settings to change the directory of where your screenshots are saved. Odd really, but whatever. You can solve this by creating a Symbolic Link and thus pointing the default directory of where Uplay saves those screenshots to your drive or directory of choice.

Simply run Command Prompt (Run as administrator) and type the below command on the line and press enter

mklink /D “C:\Users[USERNAME]\Pictures\Uplay” “D:\Uplay”

Change [USERNAME] to your Windows User account name.

If you’re not sure how to run Command Prompt, simply press the Windows key on your keyboard or press the Windows icon on your task bar which should open your start menu. Type “cmd”, which should automatically search for it. Right click and “Run as administrator”.

You can even create a batch file to avoid all the above, obviously you’ll need to edit the user account name same as above. This is handy for also quickly running batch files that you’ve set up, ready to bring you back to your normal state after a reformat.

Create a text file, renaming the file from .txt to .bat – so you could name it to uplayscreenshotslocationchange.bat add to the file.

mklink /D “C:\Users[USERNAME]\Pictures\Uplay” “D:\Uplay”

Again, making sure to change [USERNAME] to your Windows User account name.

Using Symbolic Link’s to connect to a shared Blu-Ray/DVD drive within your network

If you have a Blu-Ray drive on a device within your network and you’d like to be able to play your disks on say your other PC or laptop, you don’t necessarily need to go out and buy another Blu-Ray drive.

The very first thing that needs to be done is to share your Blu-Ray/DVD drive across your network. This step will obviously be different depending on your operating system.

On Windows 10 for example (on the device that has the drive), go to ‘This PC’, right click on the drive and go to “Give access to” then to “Advanced sharing…” Hit “Advanced Sharing…” button, tick the box “Share this folder”, give it a name. This essentially shares your drive to the network, without this the other devices won’t have access.

The next step is to map the drive or you can skip this and just go right to creating the Symbolic Link.

If you did map the drive, you might get a permission issue and instead of fiddling around with permissions I added a password to the Windows account (of the system with the drive) and used those credentials to gain access. If you already use a password, great, but if you don’t prefer to use one, you’ll need to configure the permissions to allow this.

Here’s the Symbolic Link I used. You will need to execute this in the Command Prompt (elevated or it will not allow you to create it):

mklink /D "C:\Blu-ray Drive" "\\NETWORKNAME\d"

To explain a little, the first quotes is the location to where I want to create the link, the second quote is where the link will point to. You can type “mlink” within the console to get a list and more understanding of Symbolic Links. The idea is that your media player believes it’s simply playing from a folder in C drive.

Read more about Symbolic Links here from Microsoft.

Another way that seemed to work was to use the VCL Media Player to play directly from the mapped drive. Run using \E:/ (Change the drive letter to yours).

You can use that to run it from VLC Media Player.

Pro’s and Con’s?

Pro’s and con’s are pretty basic so far, however the pro is you don’t need to splash out on a blu-ray drive just to watch something else-where, the con is that you’ll have to run the device in which the blu-ray is on even if you’re not using it. A restart or disruption to the network and you’re disconnected, of course.

Creating Symbolic Links

I’ve been meaning to create a post about symbolic links and how to set them up, the benefits of them, pros and cons, however I’ve not had the time and I might just come back to this post one day, however it’s been a while and I think it’s worth just starting and leaving it where it is.

I sometimes reformat my Windows drive or as you do, upgrade to say another drive. Backing up your files is one thing, but have you ever thought, what about just using scripts to run once you re-install everything to point to the files so it’s almost plug and play?

So for example, in this situation we have the Steam userdata folder that resides in the Program Files within the C drive. Setting up a symbolic link to then automatically have that folder divert to a location on say a Steam dedicated drive, would mean no need to ever do large copies, but to just run the script after a reformat and you’re good to go. Especially handy when you forget to make a back up and reformat your Windows anyway!

This also comes in handy when the times your drive fails, however that doesn’t mean the drive you’re creating the link to doesn’t fail, make sure you have a plan for that.

Anyway, here’s the way to do it:

Step 1, run command prompt)

Start Command Prompt. Press start, type “command prompt”, right click on it and run as the administrator.

Step 2, copy paste your symbolic link)

You can just type “mklink” to get a list of details on what each parameter does. In this case we’re going to link one folder to another.

mklink /J “C:\Program Files (x86)\Steam\userdata” “D:\Steamuserdata”

And that’s it, we’re done.

I did a quick Google search to find more details on it, Microsoft have a page on symbolic links, you can find that here.

Uplay likes to save your screenshots to C:\Users\xxxxx\Pictures\Uplay another idea would be to divert those to your preferred location.