Skip to main content

Resolve Shortcut Targets When Importing Windows .LNK Files

šŸ“‹ Summary

When importing Windows games into LaunchBox by dragging and dropping desktop shortcuts (.lnk files), LaunchBox currently stores the shortcut file path itself instead of the actual executable the shortcut points to. This request proposes adding an option to automatically resolve .lnk files to their target executable paths during import.


ā— Problem

Dragging .lnk files into LaunchBox is a convenient way to add manually installed Windows games. However:

  • LaunchBox saves the path to the .lnk file (e.g. C:\Users\...\Desktop\Game.lnk) instead of the resolved target (e.g. C:\Games\Game\Game.exe).

  • If the shortcut is moved, renamed, or deleted, the LaunchBox entry breaks.

  • This creates fragility compared to directly tracking the executable.


šŸ’” Proposal

Add an optional checkbox during import (or in import settings):

ā€œResolve shortcut target (.lnk) to executable pathā€

When enabled:

  • LaunchBox reads the .lnk file and stores the resolved target executable path.

  • The working directory and arguments from the shortcut could also be preserved where applicable.

When disabled:

  • LaunchBox retains the current behavior, using the .lnk file path directly.


🧩 Use Cases

  • Users adding DRM-free or manually installed Windows games via desktop shortcuts.

  • Users cleaning up their desktop without breaking LaunchBox entries.

  • Advanced users who do want to keep .lnk files intact (e.g. for admin flags, compatibility modes, or custom arguments) can simply leave the option unchecked.


šŸ“¦ Benefits

  • More robust Windows game entries that don’t break when shortcuts change.

  • Maintains flexibility for advanced shortcut-based setups.

  • Improves the drag-and-drop Windows game import experience without changing default behavior.

Status: Open To Community2 comments

Log in to comment and vote

Comments2

  • AstroBob changed status to Open To Community
    Team•

    Dec 23, 2025

    Pinned

    Hi there!

    Thanks so much for submitting this request and for taking the time to explain your use case — that context is always super helpful.

    I’ve gone ahead and fleshed out the main idea using the info you provided, and I’m opening it up to the community for further discussion and feedback. Please let me know if this fleshed-out version doesn’t match your original intended request.

    Feel free to let me know if you have any extra thoughts, examples, or edge cases you think might be relevant!

    Cheers,
    The LaunchBox team

  • tastyratz

    •

    Dec 23, 2025

    Feature suggestion: LNK file path expansion option when adding Windows games

    Being able to drag desktop shortcuts onto my Launchbox is incredibly convenient when adding windows games and installations, especially when they are not through the store importers, like a manual windows game. When .lnk files are imported, the file itself (c:\users\desktop\game1.lnk) instead of the ACTUAL path the lnk points to: (c:\games\game1\game1.exe). This is a problem if the shortcut gets renamed/moved/etc (like deleted from your desktop).

    A checkbox for ā€œresolve pathā€ would be ideal as there may actually be an obscure need for someone to use a configured LNK file (such as one with app specifics to run as admin, compatibility mode, etc).