🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

question on spawning DOS from C prog

#7463
From: JOHN M. TROIANO
Date: Tue, 05 Jan 1993 21:22
15 lines
1034 bytes
    Hi, I have written an application (using Borland C) which spawns
DOS upon request by the user (using spawnl). Everything works great
but I would like to display a reminder to the user with each DOS prompt
so he does'nt forget he is in a spawned DOS process (similar to way
Word Perfect does this). For example, after spawning DOS the user would
see:

            <Type EXIT to return to program>      <--this would appear
                                                     each time <RET> hit
            C:\

    Is there, perhaps, a parameter to COMMAND.COM to do this?

                                                - John
Technical Details
Message-ID: <1993Jan5.212229.57639@ns1.cc.lehigh.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!jmt7

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!jmt7
From: jmt7@ns1.cc.lehigh.edu (JOHN M. TROIANO)
Newsgroups: comp.os.msdos.programmer
Subject: question on spawning DOS from C prog
Message-ID: <1993Jan5.212229.57639@ns1.cc.lehigh.edu>
Date: 5 Jan 93 21:22:29 GMT
Organization: Lehigh University
Lines: 15