Making SYMLINK without any parameters using MKLINK command
Making SYMLINKD using MKLINK /D command
Making HARDLINK using MKLINK /H command
Making JUNCTION using MKLINK /J command
When you are using this command you should know that …
- When using without any parameters it makes symlink between two files … Files are accessible only localy on same machine.
- When using with /D parameter it creates symlinkd link between two folders … linked folder is accessible only localy.
- When using with /H parameter it creates hardlink between two files … This file is normaly accessible over the network and localy.
- When using with /J parameter it creates so called Directory junction that makes folder accessible using different name… It works localy and over the network.
So now you are able to share a folder in which you can put Directory junction folders, that normaly are not shared…
Thanks, man.
How to make links that work for shares is exactly what I was looking for!
-C
LikeLike
Just a little add after personnal tests :
Once you have build your “MKlink /J TestFolderJ “C:Test FolderExample folder J”,
if you type “DEL TestFolderJ”,
it asks “do you really want to remove TestFolderJ* ?”
and it removes every files into “C:Test FolderExample folder J”
if you want to remove the junction,
you must type “RD TestFolderJ”.
LikeLike