Invalid parameter, Invalid number of parameters, Incorrect parameter, Syntax error

Microsoft MS-DOS

Severity: Minor

What it means

Invalid parameter: you have entered an incorrect parameter.
Invalid number of parameters: you have specified the wrong number of options in the command line.
Incorrect parameter comes from SHARE, and Syntax error is for a command that was typed incorrectly.

Affected Models

  • IBM PC compatibles running MS-DOS

How to Fix It

  1. Compare your line with the syntax of the command in the manual.

    MS-DOS 5 and later: type the command followed by /? to see it.

  2. Use slashes for options, and backslashes in paths.

  3. Check the spaces: one between the parameters, none inside a path.