I really don't see the point of showing the result in a dos prompt. can u explain me why are you trying do?