Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: MKLINK Create and Use Links in Windows

23 Mar 2017   #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 System SpecsSystem Spec
08 Apr 2017   #141

Win 7 Ultimate 32 bit
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 Images
My System SpecsSystem Spec
09 Apr 2017   #142

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan

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 System SpecsSystem Spec
09 Apr 2017   #143

Win 7 Ultimate 32 bit

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 System SpecsSystem Spec

01 Nov 2018   #144

Windows 10 64-bit

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 System SpecsSystem Spec
01 Dec 2018   #145
Peter Wodrich

Windows 10 64bit
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
My System SpecsSystem Spec
01 Dec 2018   #146

64-bit Windows 10 Pro

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 System SpecsSystem Spec
01 Dec 2018   #147
Peter Wodrich

Windows 10 64bit

Now it tells me access denied, but I am an admin...
My System SpecsSystem Spec
01 Dec 2018   #148

64-bit Windows 10 Pro

Did you open an elevated command prompt?

Elevated Command Prompt
My System SpecsSystem Spec
01 Dec 2018   #149
Peter Wodrich

Windows 10 64bit

I think so, it says C:\Windows\Systhem32\cmd.exe
My System SpecsSystem Spec

 MKLINK Create and Use Links in Windows

Thread Tools

Similar help and support threads
Thread Forum
I have two drives, an SSD for the OS (C:) and a platter drive for data (D:). I want to be able to hibernate my PC but don't want HIBERFIL to wear out my SSD as I have lots of memory (24GB) being written to the SSD every time I hibernate. Can anyone please advise me whether it's possible to move...
General Discussion
MKLINK - Can not create what is already there
Not correct sentence but it is original in Swedish. Because i am not a fan of printscreen, so i will post what i have written: C:\Windows\system32>mklink /d "C:\Users\Susanne\AppData\Local\Opera Software\Ope ra Stable" "E:\" I am not really shure about the differens between "j" and "d",...
General Discussion
Create Skydrive share links within file explorer
I'm using skydrive often and I really like it. I also Like the Feature that I can send a link to my friends so that they can download the file. Unfortunately I always need to login on the Web Interface to create the link - with a lot of clicks. Is there a way to create this link directly from...
Links Library - Create
How to Create a "Links" Library with Correct Icon in Windows 7 and Windows 8 This will show you how to create a Links library that has the correct Links folder icon on a glass plate for it's library icon in Windows 7 and Windows 8. The included folder C:\Users\(user-name)\Links is also the...
How to create my own folder links in the Start Menu
On the right hand side you have buttons (User, Pictures, Music, Video,etc) that I don't want/use. Would like to change some of these for my needs. Played around with it a bit but without luck. How do I do this?

Our Sites

Site Links

About Us

Find 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 17:13.
Twitter Facebook