home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!drivax!frotz
- From: frotz@dri.com (Frotz)
- Subject: Re: Problems with the COMSPEC environment variable
- Message-ID: <Z92PBKNZ@dri.com>
- Keywords: DOS Novell 3.11 COMSPEC Login script
- Sender: frotz@novell.com
- Reply-To: frotz@novell.com
- Organization: Desktop Systems Group/Novell, Monterey CA/USA
- References: <1992Aug19.093722.19288@coe.montana.edu>
- Date: Sat, 5 Sep 92 00:18:07 GMT
- Lines: 53
-
- icsu8053@cs.montana.edu (Craig Pratt) writes:
-
- ]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.
-
- You don't mention what DOS you are using. Please note that under
- DRDOS and DRMDOS, you will get invalid login script values for
- %OS_VERSION and %OS. DRDOS and DRMDOS will both return "3.31" and
- "MSDOS". Actually, it should be "Compaq" DOS, but that's something
- entirely different.
-
- Things that we recommend for DRDOS users are:
-
- IF <OS> != "DRDOS" AND <OS> != "DRMDOS" THEN BEGIN
- DOS SET OS="%OS"
- DOS SET VER="%OS_VERSION"
- ELSE
- *
- * DRDOS and DRMDOS already set these variables.
- *
- END
-
- MAP INS S1:=FILSRV/SYS:PUBLIC\<OS>\<VER>
- COMSPEC=S1:COMMAND.COM
-
- ]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.
-
- Q: Given the situation where all of your nodes have hard disks, why do people
- put an OS on the file server?
-
- I would suspect that this is <poor performance> thing to do with fast
- machines. With slow machines, this might be a <good performance>
- thing to do _iff_ you do not have problems with bandwidth on your
- network segment. (Granted, my network segment is very crowded.)
-
- ]Has anyone else here had this problem? It's starting to influence my
- ]dreams/nightmares. My subconscious is at stake here. :^!
-
- --
- John "Frotz" Fa'atuai frotz@novell.com (email@domain)
- Desktop Systems uunet!novell.com!frotz (bang address)
- Group/Novell NOVELL:FROTZ or FROTZ@NOVELL (MHS address)
- c/o TS Dept. 408/645-2067 (vmail)
- 80 Garden Court 408/649-8209 (fax)
- Monterey, CA 93940
-