Did you install the toolchain in the default location? If not, try doing that (a path with spaces could causes issues).
In cmdline.bat try changing line 3 from
Code:
path %path%;%prefix%\bin\
to
Code:
path %prefix%\bin\;%path%
Just tried the default installation and it worked for me (on Windows 11), the above is just random guesses based on previous experience with msys based stuff.