c++ - ERROR_PATH_NOT_FOUND vs ERROR_FILE_NOT_FOUND, what is the difference? -
possible duplicate:
what's difference between path_not_found , name_not_found
i error_file_not_found
when try open file that's not there, fopen fails error_path_not_found
.
so difference between error_file_not_found
, error_path_not_found
?
in winerror.h
, error_file_not_found
has descriptive text "the system cannot find file specified." , error_path_not_found
has descriptive text "the system cannot find path specified."
this doesn't particularly clarify matters.
usually, however, "file not found" refers case file cannot found , "path not found" refers case component of path (one of directory names specified) cannot found.
Comments
Post a Comment