However, you can specify an
absolute or relative path as needed. See the ???Understanding Absolute and Relative Paths??? sidebar
for additional details. These commands create all of the directories required to provide the
full path in the specification, so you might create multiple directories when specifying a long path.
CREATING SYMBOLIC LINKS AND HARD LINKS WITH THE MKLINK COMMAND 259
Creating Symbolic Links and Hard Links with the
MKLink Command
The MKLink command helps you create symbolic or hard links. You use these links to make it
appear that the link is actually part of the system. Junctions, another type of link, provide a connection
between a nonexistent directory and an existing directory. For example, Windows Server
2008 uses a junction to provide support for the Documents and Settings folder that used to appear
in Windows. The real directory is now the Users folder. This utility uses the following syntax:
MKLink [[/D] | [/H] | [/J]] Link Target
The following list describes each of the command line arguments.
/D Creates a directory symbol link. The default setting creates a file symbolic link. You can??™t
use the /D command line switch with the /H or /J command line switches.
Pages:
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639