Hi, I can't find any way of setting the current working directory from within an FTN95 Express project. It is possible in all other types of Visual Studio projects, but cannot find it here. Am I missing something?
Kevin
Welcome to our forums
Hi, I can't find any way of setting the current working directory from within an FTN95 Express project. It is possible in all other types of Visual Studio projects, but cannot find it here. Am I missing something?
Kevin
I don't know the answer to your question but you can use ATTACH@ to set the current working directory from within your Fortran code.
No, I need to do it from the project environment. Thanks anyway.
Maybe use CURDIR@ ? (Page 29, FTN77 Library manual, available in PDF from documentation section of this website). The old FTN77 functions and subroutines usually work, if they don't relate to DBOS or to the old graphics system. (CURDIR@ replaces the obsolete, but perhaps more helpfully named, CURRENT_DIR@ - same page in the manual).
You may need to see for yourself if these routines work in a .NET environment.
Eddie
Thanks for the tip Eddie, I really needed to do it from Visual Studio, but I've found a workaround now. Kevin