DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Symbolic links for Windows

Symbolic links for Windows

Nicolas Fränkel user avatar by
Nicolas Fränkel
CORE ·
Feb. 07, 11 · Java Zone · Interview
Like (0)
Save
Tweet
7.07K Views

Join the DZone community and get the full member experience.

Join For Free

No Java this week, just the solution of a problem I’ve encountered in the past weeks. Don’t be scared, it’s computer-related.

Since a couple of months, I’ve become severely addicted to the excellent Dropbox. It has three features, that linked together are particularly interesting for me: online backup, computer synch and file sharing. If you don’t already have an online storage solution, look at it ASAP: it has a free 2Go version (and by the way, contact me at nicolas at frankel dot ch so we can both benefit from 250Mo more).

Anyway, Dropbox has all I was looking for an online backup software, and even more, but it suffers from one major drawback: it saves only the content of a single folder (albeit recursively). On Nix operating systems, a healthy dose of symbolic links resolves the problem. However, I’m mostly a Windows user (my bad), not only at work but also at home.

At first, I reluctantly broke my nice directories tree organization but it felt wrong. And it was rightly so (pardon the pun): Windows 7 has symbolic links! Yes, it’s true! For the disbelievers, and provided you have access to both Windows 7 and a command prompt, type mklink.

Now, once you’ve selected your Dropbox folder, type the following in a command prompt:

cd path/to/dropbox/folder
mklink -D name path/to/target/directory

Done! Just make sure you have admin rights. Now if you would excuse me, I must get back to reordering my directories again…

Links

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Open Source Monitoring and Metrics Landscape
  • Migrating Legacy Applications and Services to Low Code
  • Monolith vs Microservices Architecture: To Split or Not to Split?
  • How Low Code Demands More Creativity From Developers

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo