I have a working program, written in fortran, using Visual Studio 2010 and Intel Visual Fortran 2011.13.371. A simple console application.
I'm trying to execute a system call from within my fortran program. I added a subroutine to my program, with this code:
DOT = "DIR"
I4STAT = SYSTEM(DOT)
I call subroutine MINE from my main program, it bombs every time.