home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / programm / 11485 < prev    next >
Encoding:
Internet Message Format  |  1992-12-18  |  1003 b 

  1. Path: sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
  2. From: John.Gibney@f386.n632.z3.fidonet.org (John Gibney)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: dos console output
  5. Message-ID: <724656328.AA02399@csource.oz.au>
  6. Date: Tue, 15 Dec 1992 13:46:04
  7. Sender: gateway@csource.oz.au
  8. Lines: 22
  9.  
  10. In a message originally to All, homer@theory.tc.cornell.edu says:
  11.  
  12.  Ho> I am using fortran CALL FSYSTEM ('DOS COMMAND')
  13.  Ho> to run various dos commands like MKDIR etc.  How do I get
  14.  Ho> DOS to NOT write to the console during such operations, the
  15.  Ho> console will be used for graphics application.  
  16.  Ho> 
  17.  Ho> For example if you copy a file, it always says '1 file copied.'
  18.  
  19. Uhmm...  have you tried:-
  20.  
  21.         CALL FSYSTEM ('mkdir MYDIR > nul')
  22.  
  23. Any output from the spawned command should end up in the NUL
  24. device... at least, that's what happens when I do things at
  25. the DOS prompt.
  26.  
  27.  
  28. John  :-)
  29. ___ Blue Wave/QWK v2.10
  30.  
  31.  * Origin: Eastern Mail Centre [PEP] OZ. +61-3-725-1621 (3:632/386)
  32.