mklink /j – useful tool for moving FS files

If you need to store files on a different drive (for example move ORBX out of FSX folder) – mklink may help you set up a symbolic link. How to use it?

fsx-1

Short tutorial

If you are just looking for a code – here it is. If you are here for the first time – I strongly suggest you read the text below before you proceed.

Open command prompt (instruction below).

mklink /j “fake location path” “real location path”

for example:

mklink /j “C:\FSX-Steam\steamapps\common\FSX\ORBX” “D:\ORBX”

Quotation marks are optional – you may need them in case there is a space in your path.

For the example above – ORBX folder inside C:\FSX-Steam\steamapps\common\FSX\ must not exist!

Ads and your donations help pay for keeping this site online. Thanks for your support! :)

When to use symlinks?

If you need to move some files out of your FSX folder because you are running out of space on your drive or just want to portion the load between two (or several) different drives – you may use mklink command and create symbolic link.

I use it for two reasons:

  • storing ORBX folder on a different drive than the main FSX folder
  • “faking” my free add-on location so that FSX:SE thinks it’s inside it’s main folder.

In the latter case – for some reason my FSX steam had trouble using some free sceneries (mesh and free airports) that were located outside it’s folder. Old FSX:Acceleration had no problems using such a setup.

And there is an additional reason to fake addon folder location so it seems to be inside your FSX folder – it makes it much faster to add add-ons to the Scenery Library (less clicking to find each scenery).

How to create a symbolic link?

Let’s discuss the common reason to do this – I had my ORBX folder in it’s default location (inside main FSX folder on drive C:). Actually – you can not change this location. After installing several sceneries I was running out of space. So I moved this folder into a new location – to D: drive where I keep all my sceneries. Then I made a symlink to fake it’s location.

mklink /j “C:\FSX-Steam\steamapps\common\FSX\ORBX” “D:\ORBX”

C:\FSX-Steam\steamapps\common\FSX\ORBX – the place where a fake location is created.

D:\ORBX – the folder path after it was moved to drive D:

Remember to use mklink /j – so that you are creating a junction. /h and /d can be used for other purposes that I will not discuss in this tutorial.

Ads and your donations help pay for keeping this site online. Thanks for your support! :)

In case you do not know how to open the command prompt

In Windows 10 (and Windows 8 / 8.1):

  • press start button to open start menu (Win 10) or start screen (Win8/8.1)
  • type cmd
  • run the Command Prompt app

In Windows 7 (and probably in Vista and XP):

  • Go to Start All Programs -> Accessories -> Command Prompt
  • alternatively you can open Run window and type cmd (then press enter)
Aircraft recommended by C-Aviation. When you buy products at FSS following these links you help pay for keeping this site online. You may consider contributing directly. Thanks for your support!
Carenado - Cessna C337H Skymaster HD Series for FSX/P3D A2A - Wings of Power 3: Civilian Mustang A2A - Wings of Power 3: Spitfire A2A - Wings of Silver B377 Stratocruiser Alabeo - Piper PA36 Pawnee Brave 375 Aerosoft - Twin Otter Extended (Download)

Paste code to the command prompt

If you need to copy and paste the code to command prompt – you will quickly find that Ctrl+V does not work. There are two ways to paste a code:

  • right click
  • menu (upper left corner) -> Edit -> Paste
Summary
mklink /j - useful tool for moving FS files
Article Name
mklink /j - useful tool for moving FS files
Description
If you need to store files on a different drive (for example move ORBX out of FSX folder) - mklink may help you set up a symbolic link. How to use it?
Author
Sceneries recommended by C-Aviation. When you buy products at FSS following these links you help pay for keeping this site online. You may consider contributing directly. Thanks for your support!
Aerosoft - Night Environment - Poland Pacific Islands Simulation - Marshall Islands Vidan Design - Danish Airfields X - Endelave Vidan Design - Danish Airfields X - Nordborg Vidan Design - Sonderborg X Vidan Design - Danish Airfields X - Tunø

Donate