MKLINK – Create and Use Links in Windows

Page 15 of 16 FirstFirst ... 513141516 LastLast

  1. Posts : 1
    Win10
       #140

    I want to first thank everyone for this info, it has worked well, but not flawlessly, and maybe what I was trying to do is way beyond the scope of what symbolic links can do. I have 2 offices in different parts of the country. Each one has all the files I want to access on a NAS. I used a symbolic link to connect the folders on the NAS I wanted to sync w/ OneDrive. Seemed to work beautifully, Onedrive populated with the files off the NAS I wanted, and I could now access both NAS from onedrive. I quickly noticed that updating was spotty. I would update a file, and it would be the current file on the local NAS and seemingly on the onedrive, but on the remote computer it just wasn't updating even though onedrive said it was up to date. I really thought I had it. Anyone want to weigh in on a setting I may be able to change on the network or onedrive to get them to stay in sync?
      My Computer


  2. gvm
    Posts : 2
    Win 7 Ultimate 32 bit
       #141

    mklink cannot find path


    I'm trying to map my NAS to a local drive so that I can use Crashplan to back it up to a local USB drive. I was having trouble making mklink /j work (see symptom in attached screenshot) but then saw a forum post saying it worked with /d so I tried that.

    The symptom changed to 'system cannot find the path specified' (also in attached screenshot). I can navigate to that path OK from Explorer. Why can't the system find it? Any help/suggestions much appreciated, TIA ... Greg
    Attached Thumbnails Attached Thumbnails -capture2.jpg  
      My Computer


  3. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #142

    Hi Greg,

    If H drive represents a mount point to a network location mapped by Windows Explorer, the Command Prompt will not be able to see it.

    Before you can create the link there (assuming a NAS is anything like a workstation) you’ll need to net use the network location, authenticating with the builtin Administrator account for that machine (or one with similar privileges). After that you must pushd to the mapped location before you can execute mklink there.
      My Computer


  4. gvm
    Posts : 2
    Win 7 Ultimate 32 bit
       #143

    Thank you for the reply Pyprohly.
    The NAS is not like a work station, it is a Western Digital MyCloud disk connected directly to the router.
    I'm not experienced in network tricks like these, so I would really appreciate any extra help to understand how to perform the procedures you mention, TIA ... Greg
      My Computer


  5. Posts : 1
    Windows 10 64-bit
       #144

    Thanks for the Article good stuff!

    I used this to get iTunes to use an external hard drive for backup and restore. Super useful in this case since otherwise iTunes will only let you run a 100GB backup on the local disk and restoring it wants to use another 100GB requiring 200GB C: drive space.

    Using a junction solved the problem 100%
      My Computer


  6. Posts : 4
    Windows 10 64bit
       #145

    Space in between folder names


    i want to create a /H connection for cities skylines to my faster m.2SSD. So far so good but sadly one folder on the path is called "Colossal Order" with a space in between. Due to that it always gives me a syntax failure because it thnks that "Order/... is a complete diffrent path.

    Is there a way to tell mklink that "Order/..." belongs to teh same adress?
    Attached Thumbnails Attached Thumbnails -screenshot-63-.png  
      My Computer


  7. Posts : 71,976
    64-bit Windows 11 Pro for Workstations
       #146

    Hello Peter, and welcome to Seven Forums.

    Wrapping the paths in quotes like below should allow it to work with a space in the path.

    mklink /j "D:\Docs" "E:\Users\Kari\Documents"
      My Computer


  8. Posts : 4
    Windows 10 64bit
       #147

    Now it tells me access denied, but I am an admin...
      My Computer


  9. Posts : 71,976
    64-bit Windows 11 Pro for Workstations
       #148

    Did you open an elevated command prompt?

    Elevated Command Prompt
      My Computer


  10. Posts : 4
    Windows 10 64bit
       #149

    I think so, it says C:\Windows\Systhem32\cmd.exe
      My Computer


 
Page 15 of 16 FirstFirst ... 513141516 LastLast

  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 08:48.
Find Us