Cannot create a file when that file already exists (mklink on Windows 10)

spiros · 1 · 1051

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 854559
    • Gender:Male
  • point d’amour
Cannot create a file when that file already exists (when using mklink)

Suppose you used the syntax:

Code: [Select]
mklink /J C:\Documents\Test C:\Users\Name\OriginalFolder
You must not have a folder named "Test" or whatever, as the command will create it (along with the symlink). So if you already created that folder, try with a folder name that does not exist.


 

Search Tools