Error code
Windows ERROR_FILE_EXISTS
WINDOWSERROR_FILE_EXISTS
System Error Code· A POSIX/system errno returned when a system call fails.
What it means
The file exists..
How to fix it
- Choose a different file name or delete/rename the existing file first.
- use an overwrite flag if the operation supports it.
- check whether a previous run left the file behind.
- ensure two processes are not writing the same path.
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.