The Novell COMSPEC variable is contained in the network login script and
can be defined by a two-line entry similar the following:
In this example, the %MACHINE_TYPE variable is set by the SHELL.CFG file
and the %OS_VERSION and %OS variables are set by the Novell Shell (based on
the version of MS-DOS used to boot the workstation). A search drive (which
is the same as having it in the path) then maps to this directory. If a
workstation is booted from an MS-DOS 5.0 workstation, the mapping may look
SEARCH DRIVE S2=Y:\PUBLIC\IBM_PC\MSDOS\V5.00
In this case, using the SET command at the MS-DOS command prompt would
result in the following:
The "Cannot Load COMMAND.COM" error message occurs when you exit an
application as control is returned to MS-DOS and the COMMAND.COM file
cannot be located.
To correct the problem, make sure that the CONFIG.SYS file contains
the following line
shell=<drive>\<dir>\command.com <drive>\<dir>\ /p
where <drive> is the drive that contains the MS-DOS directory and files or
the drive that contains COMMAND.COM and <dir> is the appropriate MS-DOS
directory that contains COMMAND.COM.
Remove the three COMSPEC-related entries from the login script, reboot the
computer, and log back on to the network. For the procedure to modify the
Novell login script, consult your Novell documentation, the network
administrator, or Novell Technical Support.
The products included here are manufactured by Novell, Inc., a vendor
independent of Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability.