home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11916 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.0 KB  |  46 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!butch!enterprise!news
  3. From: lb00197@Corlac (David Porco)
  4. Subject: Re: HELP: How does one identify a drive as a Novell network drive?
  5. Message-ID: <lb00197.26@Corlac>
  6. Sender: news@enterprise.rdd.lmsc.lockheed.com
  7. Nntp-Posting-Host: 129.197.235.11
  8. Organization: Lockheed
  9. References: <2TP1wB4w165w@cibbs.UUCP>
  10. Date: Fri, 8 Jan 93 16:21:21 GMT
  11. Lines: 33
  12.  
  13. In article <2TP1wB4w165w@cibbs.UUCP> root@cibbs.UUCP writes:
  14.  
  15. >I am attempting to determine how to look at say teh DOS media descriptor for a
  16. >drive in memory to determine if this is a network drive. I've posted about this
  17. >before and got no response.
  18.  
  19. >Anyone what to look for? I have used my resources regarding DOS programming and
  20. >they never mention network drives.
  21.  
  22. >Someone in here once posted that they were able to make a change to the media
  23. >descriptor to make DOS this that a network drive was a hard drive. Obvoisuly
  24. >this is possible, but what would information would one look for determining if
  25. >a drive was on the network, or local?
  26.  
  27. According to DOS PROGRAMMING by Kris Jamsa, you can use Int 21H function
  28. 4409H to determine if the drive, whose number is specified in BL is local
  29. or remote(network).  If the function is successful, it clears the carry flag 
  30. and assigns bit values to DX.  If bit 12 is 0 the drive is local, if bit 12 
  31. is 1 then the drive is remote(network).
  32.  
  33. >Any informaion regarding this would be appreciated.
  34. >Mark
  35.  
  36. Hope this helps.
  37. .
  38.  --------------------------------/^\----------------------------------
  39.  The views expressed are my      | |    We make our own reality.
  40.  own, and could change at any    | |
  41.  moment.                         | |     )))))   )   )  ) ))))
  42.  --------------------------------| |      )   )  )))  ) )  )))
  43.  David V. Porco                  | |      ))))   )  )  )    ))))
  44.  Systems Programmer              | |    Certified Netware Engineer
  45.  --------------------------------| |----------------------------------
  46.