Software >> OS >> Windows >> Command Line >> How to create symbolic links (junctions or hard targets) to files or directories in Windows (similar to unix soft and hard links)

use MKLINK command

 

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.