Share via

My command prompt doesn't recognize -h command

Anonymous
2015-01-04T21:35:01+00:00

I have Windows 7 Ultimate and I was trying to fix an unrelated problem generated by an SD card (the content appears to be empty on computer but the pictures show on a camera). Among the suggested solutions to my SD card problem was one that needed typing the -h -s /s /d commands in my cmd but I was returned the text <"-h" is not recognized as internal or external command, operable program or batch file>. I checked the environment variables' path and it contained the system32 file, so I would like to know what to do in this case; what is wrong and what is the solution to it.

I might add that I have no programming skills whatsoever, so I will surely need a more detailed help. Please, and thank you!

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2015-01-04T22:23:41+00:00

    I have Windows 7 Ultimate and I was trying to fix an unrelated problem generated by an SD card (the content appears to be empty on computer but the pictures show on a camera). Among the suggested solutions to my SD card problem was one that needed typing the -h -s /s /d commands in my cmd but I was returned the text <"-h" is not recognized as internal or external command, operable program or batch file>. I checked the environment variables' path and it contained the system32 file, so I would like to know what to do in this case; what is wrong and what is the solution to it.

    I might add that I have no programming skills whatsoever, so I will surely need a more detailed help. Please, and thank you

    Hi

    The -h  -s  /s  /d are all optional Parameters that can be used with a Command.

    To see all of the possible Parameters for any particular Command, type the Command followed by /?.

    Example: The Attrib command.

    In the command prompt, type attrib /?  and press Enter.

    You will see the following results.

    This screen explains what the Attrib command does and shows all of the optional parameters that can be used and what each parameter does.

    Command-Line Reference:

    http://technet.microsoft.com/en-us/library/cc754340.aspx

    Command Prompt: frequently asked questions:

    http://windows.microsoft.com/en-us/windows/command-prompt-faq#1TC=windows-7

    Regards

    Was this answer helpful?

    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. LemP 74,935 Reputation points Volunteer Moderator
    2015-01-05T18:26:36+00:00

    Please re-read Ronnie Vernon's answer.  Those letters are NOT commands, they are used WITH a command.

    What is it that you are trying to do?  Perhaps you could provide a link to the advice that you are trying to follow.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-01-05T18:14:39+00:00

    I was running it as admin the first time I received the error

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-01-05T16:16:17+00:00

    Have you tried Run as Administrator.What I do is:

    MouseClick Menu

    MouseClick On Search Bottom Left Panel Type cmd

    RightMouseClick cmd.exe Near Top Left Hand Screen

    Press Enter on Run as Adminstrator

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-01-05T08:07:32+00:00

    Hello,

    Thank you for your quick reply! I followed through your steps and I got the list with the available parameters; that should have meant that if cmd knows them and sees them then I should be able to use them, right? But as I went and tried them afterwards I got the same error as for '-h' for even for 'r' and 's' (the only ones I checked).

    Where could originate the problem?

    Thank you again for your help!

    Was this answer helpful?

    0 comments No comments