PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> If a fake cmd.exe exits in the current directory, pg_ctl is failed to
> start.
I do not think this is a bug. There are probably thousands of ways to
break Postgres by misconfiguring your system, and this is one of 'em.
(Likewise for your identical complaint about pg_upgrade.)
regards, tom lane