×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Question about SYSTEMQQ input file and related

Question about SYSTEMQQ input file and related

Question about SYSTEMQQ input file and related

(OP)
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!!

RE: Question about SYSTEMQQ input file and related

Try

CODE

i=systemqq('arcade1.exe < 1.xyx') 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources