Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!spool.mu.edu!think.com!mintaka!ogicse!uidaho!ted.cs.uidaho.edu!chris From: chris@ted.cs.uidaho.edu (Chris Magagna) Newsgroups: comp.sys.novell Subject: Help! Need to MAP ROOT inside a program Message-ID: <1991May14.043153.19084@groucho> Date: 14 May 91 04:31:53 GMT Sender: @groucho Organization: University of Idaho Lines: 28 Originator: chris@ted.cs.uidaho.edu Nntp-Posting-Host: cs.uidaho.edu.100.101.129.in-addr.arpa 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