Posted By

hoffstein on 11/05/08


Tagged

dos ntfs junction


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

hoffstein
Tyster


Create symbolic link in Vista


 / Published in: DOS Batch
 

URL: http://en.wikipedia.org/wiki/NTFS_symbolic_link

The mklink command is used to create a symbolic link. It has the following command line syntax:

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.
  1. mklink /D c:\vim "C:\Program Files (x86)\Vim"

Report this snippet  

You need to login to post a comment.