home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / misc / 6565 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.4 KB

  1. Xref: sparky comp.os.msdos.misc:6565 comp.os.msdos.programmer:11434
  2. Newsgroups: comp.os.msdos.misc,comp.os.msdos.programmer
  3. Path: sparky!uunet!newsstand.cit.cornell.edu!piccolo.cit.cornell.edu!crux3!sl14
  4. From: sl14@crux3.cit.cornell.edu (Stephen Lee)
  5. Subject: Re: LASTDRIVE fiddling - CAN'T CHANGE IT AFTER STARTUP
  6. Message-ID: <1992Dec16.014734.11234@piccolo.cit.cornell.edu>
  7. Sender: news@piccolo.cit.cornell.edu (USENET News System)
  8. Nntp-Posting-Host: crux3.cit.cornell.edu
  9. Organization: Fantasy Zone Ithaca, Inc.
  10. References: <rml.724373893@extro.ucc.su.OZ.AU> <1992Dec15.004138.9571@ac.dal.ca>
  11. Date: Wed, 16 Dec 92 01:47:34 GMT
  12. Lines: 33
  13.  
  14. In article <1992Dec15.004138.9571@ac.dal.ca> glad@ac.dal.ca writes:
  15. >> Anyone able to tell me how to mess with the messydos lastdrive parameter
  16. >> which can be set in config.sys ? I want to overcome a very boring
  17. >> "feature" of silverplatter "multiplatter" which absolutely insists that
  18. >> the lastdrive be set to J - this makes network login a pain and the
  19. >> cdserver is on the network. I can survive with a boot disk for access but
  20. >> it seems like a very clumsy way to use a very expensive piece of
  21. >> hardware/software. I'd like to write myself a utility to kludge the
  22. >> lastdrive temporarily while I access multiplatter, then undo the damage
  23. >> after I've finished.
  24. >> 
  25. >
  26. >For each drive letter that is defined in your system, DOS sets aside an 88
  27. >byte block of memory to store info about the associated logical drive.  The
  28. >block is called the CDS, current directory structure, which tells DOS what
  29. >the current directory for the drive is, where DOS can find info about the
  30. >drive's physical characteristics, and whether the drive is a network drive.
  31. >
  32. >So, with that in mind, you can see the difficulty in trying to change the
  33. >lastdrive environment variable; since DOS allocates the memory needed to
  34. >store environment information about drives when it reads config.sys file
  35. >on boot-up.  So, to my knowledge, you can't change the lastdrive after
  36. >the system starts.  Let me know if you find a way around this, though.
  37.  
  38. If you have QEMM, it come with a program called lastdriv.exe (or .com)
  39. that can add (but not subtract) the lastdrive.  The idea is that you
  40. can start with a low lastdrive in config.sys and than load the rest of
  41. the CDS high.  Similar things can be done to BUFFERS, FILE and FCBS.
  42. I believe the programs work without QEMM as well, but that's where you
  43. can get them from.
  44. --
  45. Stephen Lee
  46. Internet: sl14@crux2.cit.cornell.edu
  47.