Yes that's fixed it, Marc56us, thanks for finding the cause of this, I appreciate you trying that.
So the documentation is at fault really, as it gives two examples without /OUTPUT. It's also interesting that running the compilers with the /COMMENTED option also makes this successful AND launches the application after it has compiled, even though that wouldn't seem to be the purpose of the option. Anyway, at least it works when we know about this behaviour, it's still an amazingly good tool.
https://www.purebasic.com/documentation ... piler.html
Examples:
CLI> pbcompiler sourcecode.pb
The compiler will compile the source code and execute it.
CLI> pbcompiler sourcecode.pb --debugger
The compiler will compile the source code and execute it with debugger.