Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
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:\TravelVideosmklink /j "c:\users\dave\My Videos\arty" h:\ArtVideos - Split videos over two disksYou 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.
Add a commentSign in to add a comment