On Dec 29, 2005, at 12:10 PM, Ben Blackwell wrote: > I started the test program in a cygwin (unix/linux emulator) window > and the > command "ls -l" gives the long listing of the files/directories. I had > already tried "test = system('dir')" from within a dos (cmd) window and > while no error messages were generated, the dos command 'dir' was not > performed. Hmm. Does Absoft have a Cygwin-based compiler? I didn't think so, but I don't actually know. So if I've got it right, you compiled with a Windows-based compiler and then are getting system() to successfully run a Cygwin shell command? I'm moderately impressed that works at all... or maybe I misunderstand. I've only done token things with Cygwin, but I've occasionally wondered how interaction between Cygwin-based and WIndows-based tools would work. (For example, whether I could successfully have a Cygwin-based version of expect interacting with a program compiled by one of the non-Cygwin Windows f95 compilers. If I've got this anything close to right, it really sounds like a tech support question for Absoft rather than a general Fortran question (and it wouldn't surprise me if the tech support answer were just "we don't support that", but it shouldn't hurt to ask). -- Richard Maine | Good judgment comes from experience; [log in to unmask] | experience comes from bad judgment. | -- Mark Twain