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

  1. From: Neal.Sanche@ttlg.UUCP (Neal Sanche)
  2. Sender: postmaster@ttlg.UUCP
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!alberta!nebulus!ttlg!postmaster
  4. Newsgroups: comp.os.msdos.programmer
  5. Subject: Dos Console Output
  6. Message-ID: <724545568.0@ttlg.ttlg.UUCP>
  7. Date: 16 Dec 92  12:23:00 mst
  8. Lines: 20
  9.  
  10. To: homer@theory.tc.cornell.edu 
  11.  
  12. Homer: 
  13.  
  14.  HS>     I am using fortran CALL FSYSTEM ('DOS COMMAND') 
  15.  HS> to run various dos commands like MKDIR etc.  How do I get 
  16.  HS> DOS to NOT write to the console during such operations, the 
  17.  HS> console will be used for graphics application.   
  18.  
  19.  Try adding in your DOS COMMAND string '> NUL' at the end. For example 
  20.  
  21.  'COPY FOO.BAR C:\BAR > NUL' 
  22.  
  23.  That may do the trick. Let me know if it solves your quandry. 
  24.  
  25.  -Neal 
  26.  
  27. ... OFFLINE 1.41 * Recycle! For us... and them... 
  28.  
  29.  * Origin: Paradigm BBS: A programmer's paradise. (42:100/11)
  30.