Hi, if I compile CALL System('cls') on Win98. It works on 98 and the same program works on XP too (win-XP-shell). If I try to run the ("XP"-)program in the cygwin-shell (XP-OS): bash: a.exe: command not found ? How can I test if the routine CALL System works correct? Is it possible that the routine does not send the 'command' to the active win-XP-shell? Lars ----------------- >Hi Lars, > > > I guess the routine CALL System does not work? > >Hmmm, maybe. > >There is no "cls" application, nor "dir" application. Both of those are >cooked into the CMD.EXE shell. > > >BTW: clear is a unix-command. Can it work in a dos-shell with cygwin? > >I presumed your shell was the CygWin bash shell, since you mentioned >CygWin. Since clear (or more appropriately, clear.exe in CygWin) is an >application, I was hoping it'd work in this situation. But alas. > >I am surprised that the X3.64 "ESC [ 2 J" sequence didn't work. The >console you must be working with must not be "ANSI.SYS" savvy. Alas and alack! > >Hmmm, I'm not a FORTRAN guy, so I don't have any more tricks up my sleeve >that'd be appropriate. (Unless there's an NCurses analog for FORTRAN...) > >Sorry, >--Eljay > >