Date: 2013nov4
Updated: 2017nov24
OS: Windows 7 and later
Keywords: symlink, symlinks, junction
Q. How can I make a symbolic link on Windows (like the Linux ls -s) ?
A. Use the /j option of the mklink command.
mklink /j <from> <to>
For example:
mklink /j c:\htdocs e:\htdocs - Put websites on drive e:
mklink /j "c:\users\dave\My Videos\travel" e:\TravelVideos
mklink /j "c:\users\dave\My Videos\arty" h:\ArtVideos
- Split videos over two disks
You need NTFS for this to work -- does not with FAT, exFAT.
Unlike shortcuts, which are just .lnk files, this is totally transparent to programs.
You can cd to the folder, etc.