Use cmd to simulate 'true' and 'false' commands on windows.