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

**URL:** <https://forums.unrealengine.com/t/setupandroid-bat-giving-me-steam-was-unexpected-at-this-time/638908>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, question\
**Created:** [September 1, 2022, 11:46am UTC](https://forums.unrealengine.com/t/setupandroid-bat-giving-me-steam-was-unexpected-at-this-time/638908 "2022-09-01T11:46:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kristian0049](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kristian0049](https://forums.unrealengine.com/u/kristian0049)\
**Post date:** [September 1, 2022, 11:46am UTC](https://forums.unrealengine.com/t/setupandroid-bat-giving-me-steam-was-unexpected-at-this-time/638908/1 "2022-09-01T11:46:48Z")

</div>

![Screenshot (843)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/d/fdd628610dafb907fd584d93b56712afa190f1be.png)

---

<div class="post-metadata">

**Author:** ![kristian0049](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kristian0049](https://forums.unrealengine.com/u/kristian0049)\
**Post date:** [September 1, 2022, 12:03pm UTC](https://forums.unrealengine.com/t/setupandroid-bat-giving-me-steam-was-unexpected-at-this-time/638908/2 "2022-09-01T12:03:57Z")

</div>

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 :

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

```
