Symbolic Links in Windows
Since Windows Vista we have possibility to create symbolic links on Windows. Yay!
To do that, we have command mklink
in Command Prompt:
Symbolic link is not a shortcut. However, its icon desktop looks the same:
You can find out whether it is a link or shortcut by looking on the properties (left - link, right - shortcut):
You can also check it from the command prompt:
OT: Don't you think dir
command is to verbose? Who needs e.g. Volume Serial Number each time during listing directory?
In PowerShell, you need to use following command: cmd /c mklink
(precede mklink
with cmd /c
).
I use it for my PowerShell config file. Original one is in Dropbox and symlink just point to it from MyDocuments directory (where it has to be, to be applied by PowerShell).