Start '' 'C:\Games (C SSD)\PoE\Addons\Autoflask\PoEAutoFlask.ahk'Ĭd /d 'C:\Games (C SSD)\PoE\Addons\POE-Trades-Companion-dev' Start '' 'C:\Games (C SSD)\PoE\Addons\Awakened PoE Trade\Awakened PoE Trade.exe'Ĭd /d 'C:\Games (C SSD)\PoE\Addons\Autoflask' Runas /noprofile /user:CARLOSDESKTOP\resur /savecred 'C:\Games (C SSD)\PoE\Addons\poe-overlay\poe-overlay.exe'Ĭd /d 'C:\Games (C SSD)\PoE\Addons\Awakened PoE Trade' Runas /noprofile /user:CARLOSDESKTOP\resur /savecred 'C:\Games (C SSD)\PoE\Addons\Exiled Presence v1.0.5\Exiled-Presence.exe' REM -> If error flag set, we do not have admin.Įcho Requesting administrative privileges.Įcho Set UAC = CreateObject^('Shell.Application'^) > '%temp%\getadmin.vbs'Įcho UAC.ShellExecute 'cmd.exe', '/c %~s0 %params%', '', 'runas', 1 > '%temp%\getadmin.vbs' >nul 2>&1 '%SYSTEMROOT%\system32\cacls.exe' '%SYSTEMROOT%\system32\config\system' I also don't know how to translate what I've already written into PowerShell. I'm open to using PowerShell, I just don't know how. Now I'd also like for it to close all the addons when the game closes. With the help of this forum I've written a script that starts all the addons and then the game, with a single batch file.
I'm playing Path of Exile with a few addons.