Fixed sending command in windows