TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Problemas para ejecutar archivos bat

    General Discussion
    7
    10
    955
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jo T.RJ
      Jo T.R
      last edited by Jo T.R

      Hola,

      Estoy intentando usar Alexa para abrir Fornite y Epic Games pero las rutas no estaban funcionando.

      "D:\Program Files\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe"
      "D:\Program Files\Epic Games\Fortnite\FortniteGame\Binaries\Win64\FortniteLauncher.exe"

      Estas son la únicas rutas que no funcionan, ya puedo acceder a otras plataformas como Steam y Amazon Games sin problema. Pienso que se debe a que Fornite y Epic Games están en otra unidad del disco así que creé unos archivos bat dentro de mi unidad de disco principal para que triggercmd pudiera acceder. Este es el código de uno de ellos:

      😧
      cd "Program Files"
      cd "Epic Games"
      cd "Launcher"
      cd "Portal"
      cd "Binaries"
      cd "Win32"
      start EpicGamesLauncher.exe
      exit

      He probado el bat y funciona pero cuando le doy el comando a Alexa no ocurre nada. En triggercmd el comando se ve así:

      Captura de pantalla 2022-02-17 132421.png

      ¿Alguien tiene alguna idea de qué es lo que estoy haciendo mal?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Jo T.R
        last edited by

        @jo-t-r, this worked for me. Can you try this?

        "D:\Program Files (x86)\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe"

        414be18b-2aae-4b07-bf1a-4452dd518679-image.png

        Russell VanderMey

        Jo T.RJ 1 Reply Last reply Reply Quote 0
        • Jo T.RJ
          Jo T.R @Russ
          last edited by

          @russ Didn't work. I don't know what else can I do

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @Jo T.R
            last edited by Russ

            @jo-t-r, on my computer this worked:
            "D:\Program Files (x86)\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe"

            But given what you wrote in your original post, your path might be this:
            "D:\Program Files\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe"

            Did you try that as your command? You shouldn't need a .bat file if you just want to run an .exe file.

            Also, if that doesn't work, what usually does work is if you create a Windows short cut to the .exe on your Desktop or some other folder, and have your command be:

            start c:\Users\(your user)\Desktop\Epic.lnk
            

            Russell VanderMey

            Jo T.RJ 1 Reply Last reply Reply Quote 0
            • Jo T.RJ
              Jo T.R @Russ
              last edited by

              @russ I don't get why the path that you gave me works when it was the first thing I tried and it doesn't worked at that time. Just in case, I tried again with the Fornite path but I got nothing.

              Epic is working. What about Fornite?

              RussR 1 Reply Last reply Reply Quote 0
              • RussR
                Russ @Jo T.R
                last edited by Russ

                @jo-t-r, I don't actually have Fortnite, but this method should work for any Epic game:

                Create a shortcut like this:
                05ccc798-eac0-400a-baea-f487ece1f4e9-image.png

                Right-click the new shortcut on your desktop, and click Properties.
                f27f502e-a2db-412f-9dfc-3e6bbab5aabb-image.png

                Then make a command that runs it like this:

                "%HOMEDRIVE%%HOMEPATH%\Onedrive\desktop\Unreal Engine.lnk"
                

                d211a952-66b9-48fd-a21f-110d96822ddf-image.png

                Russell VanderMey

                Jo T.RJ 1 Reply Last reply Reply Quote 0
                • Jo T.RJ
                  Jo T.R @Russ
                  last edited by Jo T.R

                  @russ My shortcut looks like this:

                  Captura de pantalla 2022-02-27 164253.png

                  Text:

                  com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true
                  

                  I tried to use it with the command that you gave me and didn't work neither:

                  "%HOMEDRIVE%%HOMEPATH%\Onedrive\desktop\com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true"
                  

                  I've also tried this:

                  "C:\Users\Usuario\Desktop\com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true"
                  
                  RussR 1 Reply Last reply Reply Quote 0
                  • RussR
                    Russ @Jo T.R
                    last edited by Russ

                    @jo-t-r, is that.lnk file on your desktop? If so please try this:

                    "%HOMEDRIVE%%HOMEPATH%\Onedrive\desktop\Fortnight.lnk

                    That assumes you have onedrive. If you don't then the path to your desktop is different, so use:
                    .
                    %HOMEDRIVE%%HOMEPATH%\desktop\Fortnight.lnk

                    Russell VanderMey

                    Jo T.RJ 1 Reply Last reply Reply Quote 0
                    • Jo T.RJ
                      Jo T.R @Russ
                      last edited by

                      @russ Din't work. None of them

                      RussR 1 Reply Last reply Reply Quote 0
                      • RussR
                        Russ @Jo T.R
                        last edited by

                        @jo-t-r, can you show me the General tab in your shortcut's properties? That will tell me where it is. You need that info to form the command.

                        Russell VanderMey

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post