Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

invoking application from fortran program

Status
Not open for further replies.

dinjag

Chemical
Nov 7, 2001
8
How to run (invoke) an application (*.exe file) from fortran program?
 
Replies continue below

Recommended for you

I had the same problem and a way that I found to do that is to use the function called systemqq in the MSFLIB (or DFLIB in some cases). By example

program XXX

use msflib

character(len=3) :: command
logical :: result

command = 'dir'
result = systemqq (command)

end program XXX

will execute the dir command.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor