Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Question about SYSTEMQQ input file and related

Status
Not open for further replies.

nanomechanic01

Mechanical
May 9, 2011
1
US
Hey!

I am using intel visual fortran and am trying to execute an exe from within my program.

structure of my program:
!----------------
Program NEW
USE IFPORT
:
i=systemqq('arcade1.exe') ! input file name = 1.xyz
i=systemqq('arcade1.exe') ! input file name = 2.xyz
:
End program
!----------------

when executed, arcade1.exe requires the user to enter an input file name (1.xyz). Can this be done from inside my program?

I do have access to arcade1.exe source (arcade.f90). one easy way would be to have arcade.f90 to read 1.xyx from within; without prompting for a user input. although this will creates problems if I want to use 2.xyz with my next systemqq.

whats a good way to handle this and have the program NEW define the input files instead?

thanks!!
 
Replies continue below

Recommended for you

Try
Code:
i=systemqq('arcade1.exe < 1.xyx')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top