Saturday, 17 November 2018

Windows File system symbolic link


Create symbolic link:

1. Open command prompt (as administrator may be needed)
2. Use the mklink command, where Link is the link to create and Target is the file\directory to link to:

mklink Link Target

i.e. mklink c:\myfile1 c:\myfile2

/D for directory.
/H for hard link (when you want the link to be seen exactly as if its the target)
/J for hard link directory.




No comments: