Problemas para ejecutar archivos bat
-
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
exitHe probado el bat y funciona pero cuando le doy el comando a Alexa no ocurre nada. En triggercmd el comando se ve así:
¿Alguien tiene alguna idea de qué es lo que estoy haciendo mal?
-
@jo-t-r, this worked for me. Can you try this?
"D:\Program Files (x86)\Epic Games\Launcher\Portal\Binaries\Win32\EpicGamesLauncher.exe"
-
@russ Didn't work. I don't know what else can I do
-
@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
-
@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?
-
@jo-t-r, I don't actually have Fortnite, but this method should work for any Epic game:
Create a shortcut like this:
Right-click the new shortcut on your desktop, and click Properties.
Then make a command that runs it like this:
"%HOMEDRIVE%%HOMEPATH%\Onedrive\desktop\Unreal Engine.lnk"
-
@russ My shortcut looks like this:
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"
-
@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 -
@russ Din't work. None of them
-
@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.