Windows 7 Using Junctions (symlinks or Symbolic Links) to protect your save files

Discussion in 'Windows Games' started by Mike, Feb 5, 2013.

  1. Mike

    Mike Windows Forum Admin
    Staff Member Premium Supporter

    Jul 22, 2005
    Likes Received:
    Have you ever lost ALL of your saved game data because something terrible happened? Well, recently, we have seen advancements solving this problem with the likes of Steam Cloud. Steam Cloud allows gamers, who are increasingly using Steam Powered games, to automatically store their saves online. Indeed, their provisioning for this service recently increased from 10MB to 100MB. Unfortunately, some games are just not compatible with Steam Cloud, were released before it existed, or just don't jive with Steam at all. But here is a way to use JUNCTIONS in Windows 7 (and Windows 8), to create what are called symlinks in Linux to basically move all your saves over to a backup drive without Windows "showing" the location really changed. How does this work, you ask?

    Well just say your saves are normally stored at a location such as:

    C:\Users\Mike\Documents\my games\skyrim\saves

    But you want these save files to be stored some place else, perhaps even the entire "my games" folder, which contains .ini configuration files for game settings, and so forth. Maybe you want them in your Dropbox folder.

    Here is how you would create a symbolic link (or in Windows lingo: JUNCTION) to make this possible.

    Open up your Command Prompt by going to Search -> cmd -> -> Right click -> Run as Administrator (run CMD.exe elevated)

    mklink /j "C:\path\to\source" "C:\path\to\dropbox\destination"

    For example:

    mklink /j "c:\users\mike\documents\my games\" "z:\dropbox\my games\"
    An example for Minecraft:

    mklink /j "%appdata%\.minecraft\saves" "%user_profile%\my dropbox\minecraft\saves"
    Here is some additional information if you have syncing problems, specifically with Dropbox:

    So in this case, you would want to do the reverse. Move the folder over to Dropbox first, and then create the symlink (Windows Junction Point) at the place where the folder used to exist:

    mklink /j "z:\dropbox\my games\" "c:\users\mike\documents\my games\"
    The internal software that places your saves will not know the difference. It will still think it is throwing the saves in c:\users\mike\documents\my games area, whilst in reality, these files are being stored on potentially either 1) a different drive or 2) an alternate backup source like Dropbox.

    You can tend to this process with mouse and keyboard, by selecting folders and using third party utilities: Link Shell Extension

    The use of hard links (symbolic links) for files and folders in NTFS is a feature that existed in Linux for years, but was added to Windows 7 (and ultimately Windows 8) for compatibility reasons, and finds earlier roots in Windows Vista. You may find that carefully using this methodology will help you save games that you play for long periods of time, as well as other files, on separate hard drives and backup services, including SkyDrive. If you are intimidated by the feature, try using it on non-essential folders (perhaps create c:\newfolder1 and c:\newfolder2) as a test. Ultimately, the feature will work well to keep your saves firmly placed where you would like them, even if the game developer did not offer such an option.
    #1 Mike, Feb 5, 2013
    Last edited: Aug 25, 2013
    rbeldua likes this.

Share This Page