Topic: Saving My Fortran Data on a CD

What would be the specific commands that I would add to my program to save my fortran data file on drive E which is my read/write cd?

Re: Saving My Fortran Data on a CD

When you use Fortran's OPEN statement, you can specify a full path to a file using the FILE argument:

OPEN(FILE='E:\data.out', UNIT=100, STATUS='NEW', ACCESS='WRITE')

However, Windows could very well block this operation.  Directly writing to a CD is considerably different (and substantially slower) than writing to a hard disk or SSD.  It might be preferable to manually copy data files to the drive after creating them on disk.

Jeff Armstrong
Approximatrix, LLC