SetupAndroid.bat giving me \Steam was unexpected at this time

I found the issue in "echo Current user path: %USERPATH% " by putting quotation marks around ( " ") %USERPATH% like this : "%USERPATH%".

You can find it near the end in :

where.exe /Q adb.exe
IF /I "%ERRORLEVEL%" NEQ "0" (
	echo Current user path: "%USERPATH%"
	setx PATH "%USERPATH%;%PLATFORMTOOLS%"
	echo Added %PLATFORMTOOLS% to path
)
1 Like