How to fix the error "Too many parameters"

Updated: 12/29/2017 by Computer Hope
An image of an error on a computer screen.

When at a Windows command line, if you receive the error "Too many parameters," verify that the command you are typing is correct and that you have 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.