🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Exit without closing files

#3755
From: Brent S Noorda
Date: Tue, 13 Oct 1992 13:06
4 lines
655 bytes
I would like to have a program open a file, pass the handle to a TSR, then
exit so that the TSR can continue to write to the file.  However, the
DOS exit function closes all files opened by the executable.  Is there a way
to exit without closing opened files?
Technical Details
Message-ID: <Bw29qC.1F9@world.std.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!world!bsn

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!world!bsn
From: bsn@world.std.com (Brent S Noorda)
Subject: Exit without closing files
Message-ID: <Bw29qC.1F9@world.std.com>
Summary: How to exit without closing files?
Organization: The World Public Access UNIX, Brookline, MA
Date: Tue, 13 Oct 1992 13:06:10 GMT
Lines: 5