- create a shortcut link on desktop for the specific game in epic launcher
- Go to the properties of this shortcut and copy the url For Tony Haw's Pro Skater 1+2 its: "com.epicgames.launcher://apps/Guppy?action=launch&silent=true"
- Go to steam and add a non steam game to your lib
- Search for '''cmd.exe'''
- Change the launch properties to /k start com.epicgames.launcher://apps/Guppy?action=launch^&silent=true & exit
- Change the name and icon if you will
- done
With these steps, it was possible to use the steam controller and overay in Tony Hawk's Pro Skater+ 1+2.
Doesn't work for me, at least for The Escapists 2 : the game starts totally fine, but no Steam overlay
I would recommend using the "intended" writing and using quotes, those parameters give the same (incomplete) result on my machine
/k start "" "com.epicgames.launcher://apps/Fowl?action=launch&silent=true" & exit
EDIT: If you want to run a command then exit anyway, you can use the /c flag instead of /k
/c start "" "com.epicgames.launcher://apps/Fowl?action=launch&silent=true"
However, I notice that this trick allows to execute batchscripts with command parameters, which can be useful with tools like RemotePlayDetached to avoid going to a selection menu