📎 AI Summary:
The thread discusses issues with creating a functional symbolic link on Windows 7, with the original poster encountering an unexpected "Open with" dialog instead of a proper folder link. A responder suggests deleting the existing link file and creating a junction using the "mklink /J" command, noting it works better across different drives. Subsequent posts diverge from the main topic, with one user asking about web IP address lookup, which is unrelated to the original issue. Overall, the main sentiment reflects troubleshooting of symbolic links, with a proposed solution involving junctions, while later posts veer off-topic.

wolfv

Active Member
Member details
Joined
Jan 19, 2014
Messages
9
Thread Author #1
I attempted to create a soft symbolic link to a folder, but the link is not working.
In Explorer, the "keybrd_lib" link does not look like a folder (screen shot below).
When the link is double clicked, an "Open with" dialog opens.
symlink.png

Here is how I made the symlink from the command line, run as administrator:

C:\Windows\system32>cd C:\Users\wolf\Documents\dev_proj\keyboards\keybrds

C:\Users\wolf\Documents\dev_proj\keyboards\keybrds>mklink keybrd_lib ..\..\..\Ar
duino\libraries\keybrd\
symbolic link created for keybrd_lib <<===>> ..\..\..\Arduino\libraries\keybrd\

C:\Users\wolf\Documents\dev_proj\keyboards\keybrds>ls
docs keybrd_lib keybrd_lib_old random_test_generator
firmware keybrd_lib1 keys_tester

C:\Users\wolf\Documents\dev_proj\keyboards\keybrds>cd keybrd_lib
The directory name is invalid.

I am using Windows 7.
Why is the link not working?

Thank you
 

Last edited:
Solution
delete your keybrd_lib file (witch really name is keybrd_lib.lnk)
In the command prompt : C...>mklink /J keybrd_lib "..\..\..\Arduino\libraries\keybrd\"
It's a junction link for the case of your path \Ardino\ is not in the same hard drive. Good luke

Labna

New Member
Member details
Joined
May 15, 2015
Messages
4
delete your keybrd_lib file (witch really name is keybrd_lib.lnk)
In the command prompt : C...>mklink /J keybrd_lib "..\..\..\Arduino\libraries\keybrd\"
It's a junction link for the case of your path \Ardino\ is not in the same hard drive. Good luke
 
Solution