This error generally occurs when using the drag and drop feature of Windows Script Host. This happens when too many files are dropped on a Windows Script File.

To correct this error

  • Shorten the argument list by dragging and dropping fewer items.


The maximum command-line length that your system allows determines the number of files you can drag onto a script.