Article View: comp.sys.ibm.pc.programmer
Article #467How to setup arg[0] prior to INT21 4B(EXEC)?
From: Glen Eustace
Date: Mon, 07 May 1990 03:37
Date: Mon, 07 May 1990 03:37
18 lines
1338 bytes
1338 bytes
I am trying to setup a child process using Int 21 4B, but I want to
be able to setup the fully qualified path of the child process like
the spawn and exec functions in MSC do. Command.com achieves the
same so there must be a way.
I have found the appropriate string in memory it was at 2a9:0 or
there abouts but I am sure this location probably varies.
Can anyone tell me how to do it. They child process is using arg[0]
to find its config files etc and at the moment is looking in the
directory of the parent.
--
-----------------------------------------------------------------------
Glen Eustace, Software Manager, Computer Centre, Massey University,
Palmerston North, New Zealand. Phone: +64 63 69099 x7440 GMT+12
E-Mail via Internet: G.Eustace@massey.ac.nz
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Technical Details
Message-ID:
<703@massey.ac.nz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!kaukau.comp.vuw.ac.nz!massey.ac.nz!GEustaceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!kaukau.comp.vuw.ac.nz!massey.ac.nz!GEustace From: GEustace@massey.ac.nz (Glen Eustace) Newsgroups: comp.sys.ibm.pc.programmer Subject: How to setup arg[0] prior to INT21 4B(EXEC)? Message-ID: <703@massey.ac.nz> Date: 7 May 90 03:37:02 GMT Followup-To: poster Organization: Massey University, Palmerston North, New Zealand Lines: 18 X-Reader: NETNEWS/PC Version 2.1