PRB: F1912 "Cannot Open File" Error Caused by Nonexistent File (59228)
The information in this article applies to:
- Microsoft FORTRAN Compiler for MS-DOS 4.0
- Microsoft FORTRAN Compiler for MS-DOS 4.01
- Microsoft FORTRAN Compiler for MS-DOS 4.1
- Microsoft FORTRAN Compiler for MS-DOS 5.0
- Microsoft FORTRAN Compiler for MS-DOS 5.1
- Microsoft FORTRAN compiler for OS/2 4.1
- Microsoft FORTRAN compiler for OS/2 5.0
- Microsoft FORTRAN compiler for OS/2 5.1
- Microsoft FORTRAN PowerStation for MS-DOS 1.0
- Microsoft FORTRAN PowerStation for MS-DOS 1.0a
- Microsoft Fortran Powerstation 32 for Windows NT 1.0
- Microsoft Fortran Powerstation 32 for Windows NT 4.0
This article was previously published under Q59228 SYMPTOMS
An attempt to compile a file fails and the compiler generates the following
message:
fatal error F1912: <file name> : cannot open file
Or for Fortran PowerStation 32, version 4.0:
error FOR1821: cannot open file <filename> specified on command line
CAUSE
The file does not exist or it does not exist in the current directory.
RESOLUTION
Use the DIR command at the operating system prompt to verify that the file
exists in the current directory. Make sure that the file name is spelled
correctly in the compiler command line.
| Modification Type: | Major | Last Reviewed: | 12/1/2003 |
|---|
| Keywords: | kberrmsg kbLangFortran KB59228 |
|---|
|