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

  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: <724433346.AA01310@csource.oz.au>
  6. Date: Mon, 14 Dec 1992 08:08:04
  7. Sender: gateway@csource.oz.au
  8. Lines: 25
  9.  
  10.  -=> Quoting HomerAllheory.tc.cornell.e to All <=-
  11.  
  12.  Ho> From: homer@theory.TC.Cornell.EDU (Homer Smith)
  13.  Ho> Organization: Cornell Theory Center
  14.  
  15.  Ho> I am using fortran CALL FSYSTEM ('DOS COMMAND')
  16.  Ho> to run various dos commands like MKDIR etc.  How do I get
  17.  Ho> DOS to NOT write to the console during such operations, the
  18.  Ho> console will be used for graphics application.  
  19.  Ho> 
  20.  Ho> For example if you copy a file, it always says '1 file copied.'
  21.  
  22. Uhmm...  have you tried:-
  23.  
  24.         CALL FSYSTEM ('mkdir MYDIR > nul')
  25.  
  26. Any output from the spawned command should end up in the NUL
  27. device... at least, that's what happens when I do things at
  28. the DOS prompt.
  29.  
  30.  
  31. John  :-)
  32. ___ Blue Wave/QWK v2.10
  33.  
  34.  * Origin: Eastern Mail Centre [PEP] OZ. +61-3-725-1621 (3:632/386)
  35.