home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!warwick!kinguni2!ceres!te_s215
- From: te_s215@ceres (Andy Gulliford)
- Newsgroups: comp.sys.novell
- Subject: Re: ENV Var bug in LOGIN ???
- Message-ID: <1ha05mINN2v4@mercury.kingston.ac.uk>
- Date: 23 Dec 92 15:21:26 GMT
- References: <1992Dec19.162706.1141@mala.bc.ca>
- Organization: Kingston University
- Lines: 41
- NNTP-Posting-Host: ceres.kingston.ac.uk
- X-Newsreader: Tin 1.1 PL4
-
- bigras@mala.bc.ca writes:
- : In article <1gpvoaINNun@mercury.kingston.ac.uk>, te_s215@ceres (Andy Gulliford) writes:
- : > bigras@mala.bc.ca writes:
- : > : In article <1992Dec16.132621.1136@mala.bc.ca>, bigras@mala.bc.ca writes:
- : > : > Hi,
- : > : > There appears to be a bug with Novells LOGIN program.
- : > : > If you use the SET command it only works if the
- : > : > environment variable does not already exist.
- : > : >
- : > : > If there is an existing variable , say MN=ONE
- : > : > and you try to SET MN=TWO it fails.
- : > : > If there is no pre-existing env variable it works.
- : > : >
- : > : > Tony Bigras
- : > : > BIGRAS@MALA.BC.CA
- : > : >
- : > : > ok
- : >
- : > In login scripts rather than using the SET command you need to use
- : >
- : > DOS SET MN="ONE"
- : >
- : > -Andy.
- :
- : We have tried the DOS SET without success.
- :
- : Our login script sets the variable the first time
- : through, but if another login is run and an attempt
- : is made to alter the variable, it fails.
- : We are running with DOS 5.0
- : >
- I am not sure how DOS reallocates it's environment space. If you
- are not sure that there is enough then you can increase it by
- adding a line to your config.sys such as
-
- shell=c:\command.com /e:1024 /p
-
- Another thought - I dont think the "pccompatable" command has anything to
- do with it but it might be worth checking.
-
- -Andy.
-