mklink /H "C:\Users\Me\documents\important.txt" "C:\Users\Me\backup\important.txt" Both paths show the same file, same size, same content. Editing one edits the other. An older type of directory link. Works only on local drives (no network). Faster than symlinks for some operations? In practice, junctions are very similar to /D symlinks, but older apps understand them better. Use /J for drive redirection (e.g., moving C:\Users ).
Think of it as creating a "magical" shortcut that the operating system and applications treat as the actual file or folder . Windows supports three main types of links via mklink : cmd mklink
robocopy C:\Source D:\Dest /E /SL If you want a link that works even if the entire folder is moved, create a relative path target. Example from inside C:\Projects\MyApp : mklink /H "C:\Users\Me\documents\important
mklink /H "C:\Users\Me\documents\important.txt" "C:\Users\Me\backup\important.txt" Both paths show the same file, same size, same content. Editing one edits the other. An older type of directory link. Works only on local drives (no network). Faster than symlinks for some operations? In practice, junctions are very similar to /D symlinks, but older apps understand them better. Use /J for drive redirection (e.g., moving C:\Users ).
Think of it as creating a "magical" shortcut that the operating system and applications treat as the actual file or folder . Windows supports three main types of links via mklink :
robocopy C:\Source D:\Dest /E /SL If you want a link that works even if the entire folder is moved, create a relative path target. Example from inside C:\Projects\MyApp :