Sybolic links...

DeathPrincess

Fully [H]
Joined
May 15, 2010
Messages
18,205
Having an annoying problem with these.

I have a friend who plays a game which likes to use the documents folder for pretty much everything. Caches of items, 3 copies of the cache. Piles of junk that serves no purpose. As it;s their faviote game the C:/ drive (an SSD) is getting rather full with 11gb+ of these files.

So immediately I thought ill do a symbolic link

and entered the usual;
mklink /H Drive:\Folder 3 Drive:\Folder 3. But this just gives syntax errors when I try it. Testing it without the spaces makes it work fine...the test folders work exactly as they are supposed to. I've never done symbolic links on a folder with spaces in the title, and the folder cant be renamed. Is this normal or is there a workaround, or am I just messing up as per usual :D
 
enclose it in quotes

mklink /H "Drive:\Folder 3 Drive:\Folder 3"
 
Last edited:
Any time you have a path (or parameter) with spaces, you have to wrap it in quotes.
 
That worked, thankyou :D I kind of wish that it was added more...overtly to the default windows GUI...but then again the amount of potential problems would probably mean more negative press than it was worth!
 
You can also move the default location of the My Documents folder quite easily and also (I dont know how well it works as I dont use the feature myself, but you could try it) make it so "My Documents" actually displays 2 different folders. In Windows 7, open up a "Computer" thing and right click on "Documents" and properties and you can add locations as well as set the default save location.

That'd probably be neater and more flexible than manually adding symbolic links.
 
I use a program called "junction link magic" which is a nice gui to make the links. I have used this to move several directories over to a larger drive.
 
Back
Top