Error code
Windows ERROR_DIRECTORY
WINDOWSERROR_DIRECTORY
System Error Code· A POSIX/system errno returned when a system call fails.
What it means
The directory name is invalid..
How to fix it
- Verify the path points to an existing folder not a file.
- create the directory if it is missing.
- check the path syntax and separators.
- confirm your account can access the parent folder.
Not affiliated with Windows. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.
More Windows codes
- ERROR_ACCESS_DENIEDAccess is denied.
- ERROR_ACCOUNT_DISABLEDThis user can't sign in because this account is currently disabled.
- ERROR_ALREADY_EXISTSCannot create a file when that file already exists.
- ERROR_BAD_EXE_FORMAT%1 is not a valid Win32 application.
- ERROR_BAD_NETPATHThe network path was not found.
- ERROR_BAD_NET_NAMEThe network name cannot be found.
- ERROR_BAD_PATHNAMEThe specified path is invalid.
- ERROR_BUSYThe requested resource is in use.
- ERROR_CALL_NOT_IMPLEMENTEDThis function is not supported on this system.
- ERROR_CANCELLEDThe operation was canceled by the user.
- ERROR_DEVICE_NOT_CONNECTEDThe device is not connected.
- ERROR_DEV_NOT_EXISTThe specified network resource or device is no longer available.