[alt.msdos.programmer] Novell mapped drives

stevew@tureen.Berkeley.EDU (Stephen Williams) (03/19/91)

I've written a DOS shell/file manager in C that needs to search all of a
computer's hard drives for common applications to install.  I've been using
the Turbo C 2.0 setdisk() function to find out how many drives are in use,
but this only works in a standalone environment.

Recently, I've tried using my program in a Novell network environment,
which causes trouble because of Novell's mapped drives.  My program sees
multiple copies of many applications because of mapped drives.  For example,
WordPerfect is actually on drive D:\WP, but is also mapped to W:.  Thus, my
program finds two copies of WordPerfect when looking for programs to install.

How then, can I differentiate between actual physical drives and Novell's
mapped drives?  I'd like to be able to do this from Turbo C, of course.  Will
I need some kind of Novell library, or can I figure it out some other way?

__________________________________________________________________________
Stephen Williams				stevew@tureen.Berkeley.EDU
						uunet!ucbvax!tureen!stevew
__________________________________________________________________________