A way 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.
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...