Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

saving files

tovaert
Beginner
351 Views
I am a newcomer to Visual Fortran and have a problem with a program. One of my drag-down menus allows me to save a data file to disk after program execution is complete, however, the file can not be saved to disk unless it is in the same folder location as the executable version. What would cause this. Pardon my ignorance...
0 Kudos
2 Replies
james1
Beginner
351 Views
If you want help you will need to describe more precisely any error you receive and also perhaps include the Fortran source involved.

James
0 Kudos
isn-removed200637
351 Views
If you are supplying the filename, then I guess you are
processing the name you supply somewhere later.
You should supply a path with the filename. Maybe you are not doing this, maybe your later processing is stripping the path from
the filename. Only you can give details on this.
I would recommend that you set-up and use a call to
GETSAVEFILENAME, which uses an Explorer-type dialog to let you select a path and filename.
0 Kudos
Reply