TheKKK
Mechanical
- Mar 22, 2009
- 21
i would like to run an program.exe through my fortran code in a folder different than my fortran code
I have used the following 3 codes but the system cannot find the file specified:
1.
call system ('folder\program <IN.DAT')
2.
call system ('\folder\program <IN.DAT')
3.
call system ('cd folder')
call system ('program <IN.DAT')
Could anyone help me? Thanx in advance.
I have used the following 3 codes but the system cannot find the file specified:
1.
call system ('folder\program <IN.DAT')
2.
call system ('\folder\program <IN.DAT')
3.
call system ('cd folder')
call system ('program <IN.DAT')
Could anyone help me? Thanx in advance.