[comp.sys.ibm.pc.programmer] How to setup arg[0] prior to INT21 4B

GEustace@massey.ac.nz (Glen Eustace) (05/07/90)

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
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>