What does Windows error code 206 (ERROR_FILENAME_EXCED_RANGE) mean?

 
Could be also:
ConstantTypeOS
HTTP_STATUS_PARTIAL_CONTENTHTTP CodeAny
DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONSBugCheck CodeWindows
Previous Next
ERROR_NO_SIGNAL_SENT ERROR_RING2_STACK_IN_USE

ERROR_FILENAME_EXCED_RANGE

The file name is too long

ERROR_FILENAME_EXCED_RANGE is returned when a path component or complete path exceeds a supported length. Limits depend on the API, path prefix, application manifest, and target file system.

What to check

  • Measure both the total path and individual component lengths.
  • Check whether the application and API support extended-length paths.
  • Avoid repeatedly nesting generated directory names.
  • Preserve the original extension when shortening generated names.

How to handle it

Shorten or redesign the path deterministically. Hashing a variable portion can help, but maintain a mapping so diagnostics and cleanup remain possible.

References


Looking for a different code? Search another status or error code.