home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / novell / 10796 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.7 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!warwick!kinguni2!ceres!te_s215
  2. From: te_s215@ceres (Andy Gulliford)
  3. Newsgroups: comp.sys.novell
  4. Subject: Re: ENV Var bug in LOGIN ???
  5. Message-ID: <1ha05mINN2v4@mercury.kingston.ac.uk>
  6. Date: 23 Dec 92 15:21:26 GMT
  7. References: <1992Dec19.162706.1141@mala.bc.ca>
  8. Organization: Kingston University
  9. Lines: 41
  10. NNTP-Posting-Host: ceres.kingston.ac.uk
  11. X-Newsreader: Tin 1.1 PL4
  12.  
  13. bigras@mala.bc.ca writes:
  14. : In article <1gpvoaINNun@mercury.kingston.ac.uk>, te_s215@ceres (Andy Gulliford) writes:
  15. : > bigras@mala.bc.ca writes:
  16. : > : In article <1992Dec16.132621.1136@mala.bc.ca>, bigras@mala.bc.ca writes:
  17. : > : > Hi,
  18. : > : > There appears to be a bug with Novells LOGIN program.
  19. : > : > If you use the SET command it only works if the 
  20. : > : > environment variable does not already exist.
  21. : > : > 
  22. : > : > If there is an existing variable , say MN=ONE
  23. : > : > and you try to SET MN=TWO it fails.
  24. : > : > If there is no pre-existing env variable it works.
  25. : > : > 
  26. : > : > Tony Bigras
  27. : > : >     BIGRAS@MALA.BC.CA
  28. : > : > 
  29. : > : > ok
  30. : > 
  31. : > In login scripts rather than using the SET command you need to use
  32. : > 
  33. : > DOS SET MN="ONE"
  34. : > 
  35. : > -Andy.
  36. : We have tried the DOS SET without success.
  37. : Our login script sets the variable the first time
  38. : through, but if another login is run and an attempt
  39. : is made to alter the variable, it fails.
  40. : We are running with DOS 5.0
  41. : > 
  42. I am not sure how DOS reallocates it's environment space. If you
  43. are not sure that there is enough then you can increase it by
  44. adding a line to your config.sys such as
  45.  
  46. shell=c:\command.com /e:1024 /p
  47.  
  48. Another thought - I dont think the "pccompatable" command has anything to
  49. do with it but it might be worth checking.
  50.  
  51. -Andy.
  52.