+10

Open .lnk files with drag-and-drop on Windows is not opening the shortcut's target file

Joe Esposito 12 lat temu Ostatnio zmodyfikowane przez Rei SHIN 5 lat temu 1

When you open .lnk files from "File", "Open File", it follows the link and opens the target file.


But when you drag and drop a .lnk file, it is opening the actual contents of the .lnk file, showing unhelpful binary data.


I have several shortcuts to Python scripts from various projects and my daily routine is to drag and drop the shortcut into an editor to edit and run it. This bug prevents that fast-paced development.

I have a similar demand, that when I use the "show_overlay" command (default ctrl + P) to open files within a project, I wanted to open the .lnk's target instead of the .lnk. I am very interested to see a solution for this.