Problem making a soft link (MKLINK /D)


  1. Posts : 26
    Windows 7 Home Premium 64bit
       #1

    Problem making a soft link (MKLINK /D)


    Had a recent system crash caused by kicking the power cord out (made certain THAT won't happen again). I have run CHKDSK /R C:

    Very simple system

    • C: drive contains Windows 7, application programs, and a small amount of user data (it is a 256 GB SSD)
    • J: drive is mounted from a Synology box (rock solid; never a problem; 3 - 2TB WD disks in a RAID 5)
    • Application wants to see data in C:\Users\A\Pictures. Previously had made soft links from folders J: to this location using MKLINK /D. Work this way for several years !
    • From the Administrator account, CMD window
      • I go to the J: drive
      • Enter DIR and see the folders so the network drive IS mounted
      • I can walk the the directory tree down to the folder that contains the folder I want linked (J:\X\A\Seahorse)
      • Go back to the C:
      • CD to \Users\A\Pictures
      • MKLINK /D "J:\X\A\Seahorse" "Seahorse"

    Then I get the error message "Cannot create a file when that file already exists"

    DIR S* says there are No Files Found
    The recycle bin on both the Administrator account and one user account are empty
    Junction Link Magic show no softlinks with that name
    There are other softlinks in that folder that DO appear to work
      My Computer


  2. Posts : 1,009
    Windows 7 Ultimate 64 bit SP1
       #2

    You should write the target second:

    Code:
    MKLINK /D "C:\Users\A\Pictures\Seahorse" "J:\X\A\Seahorse"
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:16.
Find Us