This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: USAGE: in command-line: "launcher.bat <username> <appid>" | |
:: check if we are in the right account already. | |
reg query "HKCU\Software\Valve\Steam" /v AutoLoginUser | findstr %1 | |
if %errorlevel% == 1 ( | |
:: if not, kill steam, and modify registry. | |
taskkill.exe /F /IM steam.exe |