Permanent shortcut path for discord launching

Yorumlar

4 yorum

  • Tohka

    New Method:

    Paste this code in a .bat file and it'll be your shortcut.

    @echo off
    cd %localappdata%
    for /f "delims=" %%i in ('dir /b /ad-h /o-n "Discord\app-*"') do (
        cd "Discord\%%i"
        start Discord.exe
        exit
    )

     

    ----------------------------------------------------------------------------------------------------------------

    Old Method:

    cd Discord
    cd app-*
    start Discord.exe

    and keep it in %localappdata% or Appdata\local
    Now you can create it's shortcut to keep on desktop,That's it!
    (you may change it's icon to better match it to your liking)

    -------------  Continue if you want to pin the shortcut to start menu  -------------

    create a .reg file and paste this:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\PintoStartScreen]
    @="{470C0EBD-5D73-4d58-9CED-E91E22E23282}"

    Run it to add "Pin to start" in the right-click menu for almost all Shortcuts

     

     

     

    0
  • Amy

    Tohka you don't need to do any of that. You can just create a shortcut to this path:

    %localappdata%\Discord\Update.exe --processStart Discord.exe

    It's how discord does it when you install it. It will always launch whichever version you have.

    1
  • Tohka

    @Amy 
    Yes, I agree with you. My solution is way more work, but the thing is, I have tried running Discord from update.exe, but I don't know why it didn't work, and I thought maybe it won't work for some others either. So...

    0
  • k0ch1a

    Brilliant workarounds. Wonder if discord would include them in the future for users like me who wants to manually launch the apps.

    0

Yorum yazmak için lütfen oturum açın.