|Can you explain what you mean by "format hd card"?|
Do you mean a hard disk (HD), a flash/pen drive, a camera card, or something else? There is a circuit card inside a hard disk unit but you don't format it.
There is no scope for even the smallest error in Command Prompt. What "exactly" did you type in?
Always pop back and let us know the outcome - thanks