Hmm,
I don't know what you mean by it being a "Command Prompt" - did it open in the Command Prompt like a console app?
Or did you double-click and your machine rebooted? Or was it part of a bigger program entirely?
I need more information to be able to help, I'm afraid.