Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Nov 7, 2001
Messages
8
Location
IN
How to run (invoke) an application (*.exe file) from fortran program?
 
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

Back
Top