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

  1. Path: sparky!uunet!gatech!gatech!wittsend!gisatl!p42.f411.n133.z1.FIDONET.ORG!Ben.Coleman
  2. From: Ben.Coleman@p42.f411.n133.z1.FIDONET.ORG (Ben Coleman)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: DOS CONSOLE OUTPUT
  5. Message-ID: <787.2B2D74E3@gisatl.FIDONET.ORG>
  6. Date: 15 Dec 92 04:03:00 GMT
  7. Sender: ufgate@gisatl.FIDONET.ORG (newsout1.26)
  8. Organization: FidoNet node 1:133/411.42 - (GIS)Atlanta, Atlanta GA
  9. Lines: 30
  10.  
  11.  
  12.  >     I am using fortran CALL FSYSTEM ('DOS COMMAND')
  13.  > to run various dos commands like MKDIR etc.  How do I get
  14.  > DOS to NOT write to the console during such operations, the
  15.  > console will be used for graphics application.
  16.  
  17.  >     For example if you copy a file, it always says '1 file copied.'
  18.  
  19. Try redirecting the command output to NUL, as in:
  20.  
  21. CALL FSYSTEM('DOS COMMAND >NUL');
  22.  
  23. Ben
  24.  
  25.  
  26. --  
  27. ----------------------------------------------------------
  28.                __
  29.               /  \             User: Ben Coleman
  30.              /|oo \            Via FidoNet node: 1:133/411.0
  31.             (_|  /_)
  32.              _`@/_ \    _     FidoNet <==> UUCP Gateway
  33.             |     | \   \\    FidoNet Net 133, Atl96
  34.             | (*) |  \_  ))
  35.   ______    |__U__| /  \//     David Deitch, Administrator
  36.  / FIDO \    _//|| _\   /     Galaxy Information System
  37. (________)  (_/(_|(____/ (jm)   (GIS) Atlanta            
  38.  
  39. UUCP: wittsend!gisatl!411.42!Ben.Coleman
  40. INTERNET: Ben.Coleman@p42.f411.n133.z1.FIDONET.ORG
  41.