As Max pointed out, the latest main branch of Org should already handle Windows cmd properly without any extra patches. Did you try it? May I know the output of M-x org-version?
9.5.5-g5bc674, I just pulled it, rebuilt and works properly (without plots)