Creating Symbolic Link in Windows

Hello Readers,

This post will show how to create symbolic link in Windows. It is tested on Windows XP and Windows 7.

If you are doing development in Windows and your application is deployed on Unix, most common case, then it can save you some time. You can replicate same dir structure on Windows as in Unix during development.

There is this tool called Junction that comes in very handy. It can be downloaded from here.

Below is the screenshot of the steps:


Steps to set up Symbolic Link in Windows

Step 1: Create target directories for the link

Step 2: Create a link “target” at F:\project. This link will point to D:\target

Step 3: Dir listing of F:\project shows that target is pointing to D:\target

Step 4: Dir listing of F:\project\target shows directories inside D:\target

Symbolic link can be deleted by using -d flag:

junction -d F:\project\target

Thanks for reading the post. Please do leave your valuable comments…

Your’s Truly


About Badal Chowdhary

I am a Software Engineer by profession. I have done SCJP and SCWCD certifications. Like working on cutting edge technologies and frameworks. Driven by challenges and fascinated by technology. I love playing and watching sports: Cricket, Ping Pong, Tennis, Badminton, Racket Ball and Gym.
This entry was posted in Windows and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s