g77, cygwin, Win XP Pro, CALL System(Command, Status)

Lars Steinke lars.steinke@tu-clausthal.de
Fri Mar 19 16:53:00 GMT 2004


Hi,

first of all: thanks a lot for your answers!

I have revised my PATH and now it is possible to do the following:

      write(*,*)'1'
      pause
      call system('clear')
      write(*,*)'2'
      pause
      end

It works (Win-XP-shell)!

..but

if I use:

      call system('cls')

I get the following (new) message:

cls: not found

If I write the cls-command manually in the Win-XP-shell, it works.
If my program tries to invoke the cls command in the Win-XP-shell it does not work?


Thanks, Lars




More information about the Gcc-help mailing list