Error code

Windows ERROR_INVALID_NAME

WINDOWSERROR_INVALID_NAME
System Error Code· A POSIX/system errno returned when a system call fails.

What it means

The filename, directory name, or volume label syntax is incorrect..

How to fix it

  1. Remove illegal characters such as < > : " / \ | ? * from the name.
  2. ensure the path uses correct separators and a valid drive.
  3. shorten names that are too long.
  4. do not use reserved device names like CON or PRN.

Not affiliated with Windows. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.