Article View: comp.os.msdos.programmer
Article #7534Re: HELP: How does one identify a drive as a Novell network drive?
From: David Porco
Date: Fri, 08 Jan 1993 16:21
Date: Fri, 08 Jan 1993 16:21
33 lines
2056 bytes
2056 bytes
In article <2TP1wB4w165w@cibbs.UUCP> root@cibbs.UUCP writes: >I am attempting to determine how to look at say teh DOS media descriptor for a >drive in memory to determine if this is a network drive. I've posted about this >before and got no response. >Anyone what to look for? I have used my resources regarding DOS programming and >they never mention network drives. >Someone in here once posted that they were able to make a change to the media >descriptor to make DOS this that a network drive was a hard drive. Obvoisuly >this is possible, but what would information would one look for determining if >a drive was on the network, or local? According to DOS PROGRAMMING by Kris Jamsa, you can use Int 21H function 4409H to determine if the drive, whose number is specified in BL is local or remote(network). If the function is successful, it clears the carry flag and assigns bit values to DX. If bit 12 is 0 the drive is local, if bit 12 is 1 then the drive is remote(network). >Any informaion regarding this would be appreciated. >Mark Hope this helps. . --------------------------------/^\---------------------------------- The views expressed are my | | We make our own reality. own, and could change at any | | moment. | | ))))) ) ) ) )))) --------------------------------| | ) ) ))) ) ) ))) David V. Porco | | )))) ) ) ) )))) Systems Programmer | | Certified Netware Engineer --------------------------------| |----------------------------------
Technical Details
Message-ID:
<lb00197.26@Corlac>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!kronos.arc.nasa.gov!butch!enterprise!newsReferences:
<2TP1wB4w165w@cibbs.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!kronos.arc.nasa.gov!butch!enterprise!news From: lb00197@Corlac (David Porco) Subject: Re: HELP: How does one identify a drive as a Novell network drive? Message-ID: <lb00197.26@Corlac> Sender: news@enterprise.rdd.lmsc.lockheed.com Nntp-Posting-Host: 129.197.235.11 Organization: Lockheed References: <2TP1wB4w165w@cibbs.UUCP> Date: Fri, 8 Jan 93 16:21:21 GMT Lines: 33