Android "SetupAndroid.bat" keeps giving this error "was unexpected at this time." UE 4-26

I’m at a complete loss here, I’m trying to setup Android Development and have tried 4 different methods even followed the Unreal Engine guide but every time I run the SetupAndroid.bat to install the NDK I get this error

C:\Program Files\Epic Games\UE_4.26\Engine\Extras\Android>SetupAndroid.bat
Android Studio Path: C:\Program Files\Android\Android Studio
Android Studio SDK Path: C:\Users\depre\AppData\Local\Android\Sdk
\Microsoft was unexpected at this time.

If anyone could shed some light onto what’s going on I would appreciate it.

I didn’t figure this out but I got it working without it anyway.