🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6458

Re: dos console output

#6458
From: John Gibney
Date: Mon, 14 Dec 1992 08:08
25 lines
1117 bytes
 -=> Quoting HomerAllheory.tc.cornell.e to All <=-

 Ho> From: homer@theory.TC.Cornell.EDU (Homer Smith)
 Ho> Organization: Cornell Theory Center

 Ho> I am using fortran CALL FSYSTEM ('DOS COMMAND')
 Ho> to run various dos commands like MKDIR etc.  How do I get
 Ho> DOS to NOT write to the console during such operations, the
 Ho> console will be used for graphics application.  
 Ho> 
 Ho> For example if you copy a file, it always says '1 file copied.'

Uhmm...  have you tried:-

        CALL FSYSTEM ('mkdir MYDIR > nul')

Any output from the spawned command should end up in the NUL
device... at least, that's what happens when I do things at
the DOS prompt.


John  :-)
___ Blue Wave/QWK v2.10

 * Origin: Eastern Mail Centre [PEP] OZ. +61-3-725-1621 (3:632/386)
Technical Details
Message-ID: <724433346.AA01310@csource.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
From: John.Gibney@f386.n632.z3.fidonet.org (John Gibney)
Newsgroups: comp.os.msdos.programmer
Subject: Re: dos console output
Message-ID: <724433346.AA01310@csource.oz.au>
Date: Mon, 14 Dec 1992 08:08:04
Sender: gateway@csource.oz.au
Lines: 25