improve batch cmd scripts.