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

  1. Xref: sparky comp.os.msdos.misc:6549 comp.os.msdos.programmer:11408
  2. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!news.cs.indiana.edu!nstn.ns.ca!ac.dal.ca!glad
  3. From: glad@ac.dal.ca
  4. Newsgroups: comp.os.msdos.misc,comp.os.msdos.programmer
  5. Subject: Re: LASTDRIVE fiddling - CAN'T CHANGE IT AFTER STARTUP
  6. Message-ID: <1992Dec15.004138.9571@ac.dal.ca>
  7. Date: 15 Dec 92 00:41:38 -0400
  8. References: <rml.724373893@extro.ucc.su.OZ.AU>
  9. Organization: Dalhousie University, Halifax, Nova Scotia, Canada
  10. Lines: 42
  11.  
  12. > Anyone able to tell me how to mess with the messydos lastdrive parameter
  13. > which can be set in config.sys ? I want to overcome a very boring
  14. > "feature" of silverplatter "multiplatter" which absolutely insists that
  15. > the lastdrive be set to J - this makes network login a pain and the
  16. > cdserver is on the network. I can survive with a boot disk for access but
  17. > it seems like a very clumsy way to use a very expensive piece of
  18. > hardware/software. I'd like to write myself a utility to kludge the
  19. > lastdrive temporarily while I access multiplatter, then undo the damage
  20. > after I've finished.
  21.  
  22. For each drive letter that is defined in your system, DOS sets aside an 88
  23. byte block of memory to store info about the associated logical drive.  The
  24. block is called the CDS, current directory structure, which tells DOS what
  25. the current directory for the drive is, where DOS can find info about the
  26. drive's physical characteristics, and whether the drive is a network drive.
  27.  
  28. So, with that in mind, you can see the difficulty in trying to change the
  29. lastdrive environment variable; since DOS allocates the memory needed to
  30. store environment information about drives when it reads config.sys file
  31. on boot-up.  So, to my knowledge, you can't change the lastdrive after
  32. the system starts.  Let me know if you find a way around this, though.
  33.  
  34. Francis 
  35.  
  36. --
  37. *******************************************************************************
  38.                 BISEXUAL, GAY & LESBIAN ASSOCIATION OF DALHOUSIE 
  39. *******************************************************************************
  40. *                                    __ __ __ __ __ __ __ __ __ __ __ __ __   *
  41. *                                   |                                      |  *
  42. *       e-mail: GLAD@AC.DAL.CA      |   BGLAD                              |  *
  43. *                                   |   Dalhousie Student Union Building   |  *
  44. *        Phone: (902) 492-1060      |   6136 University Avenue             |  *
  45. *                     429-2562      |   Halifax, Nova Scotia (CAN)         |  *
  46. *                                   |   B3H 4J2                            |  *
  47. *                                   |__ __ __ __ __ __ __ __ __ __ __ __ __|  *
  48. *                                                                             *
  49. *******************************************************************************
  50.                 BISEXUAL, GAY & LESBIAN ASSOCIATION OF DALHOUSIE
  51. *******************************************************************************
  52.  
  53.