home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / novell / 7028 < prev    next >
Encoding:
Text File  |  1992-09-07  |  2.6 KB  |  67 lines

  1. Newsgroups: comp.sys.novell
  2. Path: sparky!uunet!drivax!frotz
  3. From: frotz@dri.com (Frotz)
  4. Subject: Re: Problems with the COMSPEC environment variable
  5. Message-ID: <Z92PBKNZ@dri.com>
  6. Keywords: DOS Novell 3.11 COMSPEC Login script
  7. Sender: frotz@novell.com
  8. Reply-To: frotz@novell.com
  9. Organization: Desktop Systems Group/Novell, Monterey CA/USA
  10. References: <1992Aug19.093722.19288@coe.montana.edu>
  11. Date: Sat, 5 Sep 92 00:18:07 GMT
  12. Lines: 53
  13.  
  14. icsu8053@cs.montana.edu (Craig Pratt) writes:
  15.  
  16. ]I've had a very hard time figuring out a problem related to setting the 
  17. ]COMSPEC environment variable in the system login script.  As usual, the
  18. ]system login script maps a search drive to SYS:PUBLIC\%MACHINE\%OS etc.
  19. ](don't have it on me at the moment).  Then, it does a 
  20. ]DOS SET COMSPEC=Sx:COMMAND.COM .  Well, whenever a program attempts to shell
  21. ]out using the COMSPEC, it dies with an "Invalid COMMAND.COM - System halted."
  22. ]This happens on all versions of DOS from 3.30 through 5.00.
  23.  
  24. You don't mention what DOS you are using.  Please note that under
  25. DRDOS and DRMDOS, you will get invalid login script values for
  26. %OS_VERSION and %OS.  DRDOS and DRMDOS will both return "3.31" and
  27. "MSDOS".  Actually, it should be "Compaq" DOS, but that's something
  28. entirely different. 
  29.  
  30. Things that we recommend for DRDOS users are:
  31.  
  32. IF  <OS> != "DRDOS" AND <OS> != "DRMDOS" THEN BEGIN
  33.     DOS SET OS="%OS"
  34.     DOS SET VER="%OS_VERSION"
  35. ELSE
  36. *
  37. *    DRDOS and DRMDOS already set these variables.
  38. *
  39. END
  40.  
  41. MAP INS S1:=FILSRV/SYS:PUBLIC\<OS>\<VER>
  42. COMSPEC=S1:COMMAND.COM
  43.  
  44. ]For now, I've REMed out the COMSPEC line in the login script and everything
  45. ]works fine since none of the machines on this network are remote booting.
  46. ](i.e. COMSPEC=C:\COMMAND.COM)  I had a Novell net tech look at it and all he
  47. ]suggested was making sure it was set to Sx:COMMAND.COM and charged us $150.
  48.  
  49. Q: Given the situation where all of your nodes have hard disks, why do people
  50.    put an OS on the file server?
  51.  
  52. I would suspect that this is <poor performance> thing to do with fast
  53. machines.  With slow machines, this might be a <good performance>
  54. thing to do _iff_ you do not have problems with bandwidth on your
  55. network segment.  (Granted, my network segment is very crowded.)
  56.  
  57. ]Has anyone else here had this problem?  It's starting to influence my 
  58. ]dreams/nightmares.  My subconscious is at stake here. :^!
  59.  
  60. --
  61. John "Frotz" Fa'atuai    frotz@novell.com        (email@domain)
  62. Desktop Systems        uunet!novell.com!frotz        (bang address)
  63.   Group/Novell        NOVELL:FROTZ  or  FROTZ@NOVELL    (MHS address)
  64. c/o TS Dept.        408/645-2067            (vmail)
  65. 80 Garden Court        408/649-8209            (fax)
  66. Monterey, CA  93940
  67.