home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!qut.edu.au!M.CRAMER
- From: M.CRAMER@qut.edu.au (Mark Cramer)
- Newsgroups: comp.sys.novell
- Subject: Problems with the COMSPEC environment variable
- Message-ID: <MAILQUEUE-101.920821163853.384@cbe.qut.edu.au>
- Date: 21 Aug 92 06:41:18 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Lines: 43
- X-Unparsable-Date: 21 Aug 92 16:38:54 GMT+1000
-
- From: icsu8053@cs.montana.edu (Craig Pratt)
- Subject: Problems with the COMSPEC environment variable
- Keywords: DOS Novell 3.11 COMSPEC Login script
- Date: 19 Aug 92 09:37:22 GMT
-
- >I've had a very hard time figuring out a problem related to setting the
- >COMSPEC environment variable in the system login script. As usual, the
- >system login script maps a search drive to SYS:PUBLIC\%MACHINE\%OS etc.
- >(don't have it on me at the moment). Then, it does a
- >DOS SET COMSPEC=Sx:COMMAND.COM . Well, whenever a program attempts to
- >shell out using the COMSPEC, it dies with an "Invalid COMMAND.COM - System
- >halted." This happens on all versions of DOS from 3.30 through 5.00.
-
- Dont use DOS SET COMSPEC, use COMSPEC=Sx:COMMAND.COM, there seems to be
- some difference. I've hit this before and fixed it without really
- tracking down the problem, the other thing that worked was putting
- SET COMSPEC=%COMSPEC% in a batch file after the Login Script, I never had
- the time to really chase down what was happening, but it seemed to relate
- to a particular version of Login.exe.
-
- >For now, I've REMed out the COMSPEC line in the login script and
- >everything works fine since none of the machines on this network are
- >remote booting. (i.e. COMSPEC=C:\COMMAND.COM) I had a Novell net tech
- >look at it and all he suggested was making sure it was set to
- >Sx:COMMAND.COM and charged us $150.
-
- How upset did you get? I would get really cheesed off if anyone did that
- to me.
-
- >Has anyone else here had this problem? It's starting to influence my
- >dreams/nightmares. My subconscious is at stake here. :^!
-
- See if COMSPEC= helps, if not ????
-
- +-----------------------------------------------+
- | Mark Cramer. /\_|\ |
- | Operations Manager, CBE Section / QUT>\ |
- | Queensland University of Technology ( __ | |
- | Australia. M.Cramer@qut.edu.au -- \/ |
- | Ph. 07 8642073. Fax 07 8641525. v |
- +-----------------------------------------------+
-
-
-