Silverfrost Forums

Welcome to our forums

Current Working Directory in FTN95 Express

1 Mar 2012 1:51 #9735

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

1 Mar 2012 4:24 #9736

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.

1 Mar 2012 5:27 #9737

No, I need to do it from the project environment. Thanks anyway.

2 Mar 2012 10:34 #9738

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

2 Mar 2012 10:51 #9740

Thanks for the tip Eddie, I really needed to do it from Visual Studio, but I've found a workaround now. Kevin

Please login to reply.