🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5294

Novell mapped drives

#5294
From: Stephen Williams
Date: Mon, 18 Mar 1991 19:53
19 lines
1684 bytes
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
__________________________________________________________________________
Technical Details
Message-ID: <12106@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!tureen.Berkeley.EDU!stevew

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!tureen.Berkeley.EDU!stevew
From: stevew@tureen.Berkeley.EDU (Stephen Williams)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer,comp.sys.novell
Subject: Novell mapped drives
Message-ID: <12106@pasteur.Berkeley.EDU>
Date: 18 Mar 91 19:53:27 GMT
Sender: news@pasteur.Berkeley.EDU
Reply-To: stevew@tureen.Berkeley.EDU (Stephen Williams)
Organization: University of California at Berkeley
Lines: 19