[comp.sys.novell] Help! Need to MAP ROOT inside a program

chris@ted.cs.uidaho.edu (Chris Magagna) (05/14/91)

Hi all,
 
The problem:  In a program (a menuing system for our PC lab) I need to map
a drive to a network path.  Specifically, I need to do this, which I *can*
do at the command line:
 
MAP ROOT S:=MARVIN/SYS:SOFTWARE\WP\WP51
 
but in a program.  I can almost do it with the NetWare C Interface
AllocPermanentDirectoryHandle(), but that does the old-fashioned "map"
without making the drive the root, which won't work some programs,
chiefly Windows 3.0.
 
I'm at the end of my wits and am seriously considering doing something
drastic like system("MAP ROOT S:=MARVIN/SYS:SOFTWARE\WP\WP51")'ing the
whole thing unless someone can shed some light.
 
Oh, I guess I should mention the environment:
 
Language:  MS C 5.1 (can't stand 6.0)
Library:   Novell C Interface for DOS 1.2
NetWare:   2.15c (soon to be 3.11, Real Soon Now)
 
Thanks for any and all leads.
 
Chris Magagna
Ag Computing Services
chris@ted.cs.uidaho.edu