Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Calling DOS exe

ferrad01
Beginner
716 Views
Is it possible to call a DOS executable from Intel Fortran? If so, can you point me to some docs.
Thanks,
0 Kudos
2 Replies
ferrad01
Beginner
716 Views
Quoting - ferrad01
Is it possible to call a DOS executable from Intel Fortran? If so, can you point me to some docs.
Thanks,

I found it: i = system("dir >x.x")
0 Kudos
TimP
Honored Contributor III
716 Views
Quoting - ferrad01
Is it possible to call a DOS executable from Intel Fortran? If so, can you point me to some docs.
Thanks,
The SYSTEM and SYSTEMQQ functions are described in the documentation which comes with ifort. This permits passing a command line to the shell under which the Fortran .exe was started., so it would have to be a .exe which works in that shell.
0 Kudos
Reply