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.
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.
Related information
- How to copy, move, or rename files with a space in the name.
- Getting ‘The syntax of the command is incorrect’ error.
- MS-DOS and Windows command line help and support.