home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / ibm / pc / hardware / 23000 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  2.2 KB

  1. Xref: sparky comp.sys.ibm.pc.hardware:23000 alt.msdos.programmer:2290
  2. Path: sparky!uunet!stanford.edu!rutgers!dziuxsolim.rutgers.edu!dorm.rutgers.edu!medici
  3. From: medici@dorm.rutgers.edu (Mark Medici)
  4. Newsgroups: comp.sys.ibm.pc.hardware,alt.msdos.programmer
  5. Subject: ? Detect diskette drv capacity w/o access ?
  6. Summary: How to determine the maximum diskette drive capacity w/o accessing it?
  7. Keywords: diskette drive, capacity, cmos
  8. Message-ID: <Aug.30.22.31.27.1992.23220@dorm.rutgers.edu>
  9. Date: 31 Aug 92 02:31:28 GMT
  10. Followup-To: comp.sys.ibm.pc.hardware
  11. Organization: Rutgers Univ., New Brunswick, N.J.
  12. Lines: 34
  13.  
  14. This has made the rounds before, but I never saw a workable answer.
  15.  
  16. I have a need to know the diskette drive type (i.e., 360kB, 1.2MB
  17. 720kB, 1.44MB, 2.88MB, or none) for the A: and B: floppy drives in
  18. various computers without requiring a diskette in the drive or causing
  19. any drive access.
  20.  
  21. To make things easy, I only need to do this on 286 or better systems.
  22.  
  23. I know that various packages like Norton Utilities can read the CMOS
  24. and get the drive type.  Can anyone provide the addresses and values
  25. I need to check to do this?
  26.  
  27. The problem to be solved is several hundred differently configured PCs
  28. on various university LANs.  The network menu system offers options
  29. for various disk management chores (e.g., format, diskcopy, etc).  The
  30. menu system is dynamic, and will only display options valid for the
  31. system configuration.  Currently, I set two environment variables
  32. (DRIVEA and DRIVEB) in the autoexec.bat to one of 00, 3D, 3H, 3Q, 5D
  33. and 5H, depending on what drives are on this system.  However, this
  34. means that machines that are not set-up properly cannot correctly
  35. use the menus, and I (or someone) has to go around and edit hundreds
  36. of autoexec.bat's to get things set-up properly.
  37.  
  38. PLEASE MAIL RESPONSES TO ME DIRECTLY.  I will summarize and post in
  39. two weeks.
  40.  
  41. Thanks in advance.
  42.  
  43. -- 
  44. _________________________________________________________________________
  45. RUCS     | Mark A. Medici, Systems Programmer III, User Services Division
  46. User     | Rutgers University Computing Services, New Brunswick, NJ 08903
  47. Services | [medici@gandalf.rutgers.edu]                    [908-932-2412]
  48.