Microsoft KB Archive/59228

= PRB: F1912 &quot;Cannot Open File&quot; Error Caused by Nonexistent File =

Article ID: 59228

Article Last Modified on 12/1/2003

-

APPLIES TO


 * Microsoft FORTRAN Compiler 4.0
 * Microsoft FORTRAN Compiler 4.01
 * Microsoft FORTRAN Compiler 4.1
 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN Compiler 4.1
 * Microsoft FORTRAN Compiler 5.0
 * Microsoft FORTRAN Compiler 5.1
 * Microsoft FORTRAN PowerStation 1.0 Standard Edition
 * Microsoft Fortran PowerStation 1.0a for MS-DOS
 * Microsoft FORTRAN PowerStation 32
 * Microsoft FORTRAN PowerStation 32

-



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: : cannot open file

Or for Fortran PowerStation 32, version 4.0:

error FOR1821: cannot open file 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.

Additional query words: 4.00 4.01 4.10 5.00 5.10 1.00

Keywords: kberrmsg kblangfortran KB59228

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.