How to fix the error 'too many parameters'

Updated: 12/29/2017 by Computer Hope
Error on a computer screen.

If you receive the error "Too many parameters" at a Windows command line, verify the command you are typing is correct and there are no additional spaces in the command line.

This error, as the name implies, indicates that there are too many parameters (words or commands) in the command being typed. It is usually caused by the command is typed incorrectly or because one of the file names has spaces.

Tip

If your command has a file name with spaces surround that file with quotes. Otherwise, the file name is treated as extra options (parameters) in the command.