Windows server 2008 NTFS / SMB2.0 changes part I (mklink)

 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…

2 thoughts on “Windows server 2008 NTFS / SMB2.0 changes part I (mklink)

  1. YenRieur

    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”.

    Like

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s