Sep
28
2010

Using windows 7 symbolic link to organize your DropBox

If you are a user of the fantastic DropBoxtool you might know that you have to organize your folders under a top root folder. This was really an issue for me which I wanted to solve because I like to organize my files in a different manner.

I used the mklink command from a Windows Command

E:\My Dropbox>mklink
Creates a symbolic link.

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.
I used it this way to create a symbolic link between a folder in “My Dropbox” folder on a folder outside:
E:\My Dropbox>mklink /D "Logs" "L:\Logs"
symbolic link created for Logs <<===>> L:\Logs

So now everything which is on my L:\Logs folder is synchronized using DropBox.

You can also use this trick to move folder around on your system after having those under the DropBox root folder. Before that I always stop DropBox and restart it after the creation of the symbolic link.

Very helpful!

Pingbacks and trackbacks (1)+

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About Laurent

Laurent Kempé

Laurent Kempé is the editor, founder, and primary contributor of Tech Head Brothers, a French portal about Microsoft .NET technologies.

He is currently employed by Innoveo Solutions since 10/2007 as a Senior Solution Architect and certified Scrum Master.

Founder, owner and Managing Partner of Jobping, which provides a unique and efficient platform for connecting Microsoft skilled job seekers with employers using Microsoft technologies.

Laurent is awarded by Microsoft since Avril 2002: Most Valuable Professional (MVP).

MVP
Certified ScrumMaster
JetBrains Academy Member

My status

Twitter

Flickr

www.flickr.com
This is a Flickr badge showing public photos and videos from Laurent Kempé. Make your own badge here.

Month List

Page List