[comp.sys.novell] Search Paths too long

kenh@techbook.com (Ken Haynes) (01/19/91)

In article <2313@beguine.UUCP> mcphil@uncmed.med.unc.edu () writes:
>
> I am haveing trouble with workstations that have long paths.  If the
> workstations path is too long (greater than 128 or so characters)
> the system login search paths fail.  I am useing the "MAP INS SEARCH"
> command to try and preserve the local mapping.  Is there a way arround
> this.  Can I preserve the long paths?  For that matter, has anyone had to
> deal with this?   Please post your responce or e-mail to the address

If the paths are due to local drives, you can use the DOS SUBST command
to shorten them.  You might also try to increase the amount of environment
space in the config.sys file by using the shell=c:\command.com /p /e:1024
the /e:1024 tells DOS to reserve 1K of space for the environment.

Ken

-- 
******************************************************************************
Network Support Services:

Ken Haynes, Certified Netware Engineer

jrc@hpdmd48.boi.hp.com (Jim Conrad) (01/24/91)

If you're are running MS-DOS 3.30+, you may be able to expand your search path
without forcing COMMAND.COM to be resident.  Recalling that the environment
space is not fixed until a program has been executed, you can...

SET PATH=C:\;C:\DOS;OTHER_VALID_THINGS;JUST_A_BIG_LONG_PAD_STRING_TO_TAKE_SPACE
	.
	.
	.
Run/Load a Program Here With Complete Pathname Specified
	.
	.
	.
SET PATH=C:\;C:\DOS;OTHER_VALID_THINGS;
	.
	.
	.
Load the network.

This tricks the system into reserving extra space for a long path, and then
sets the correct (short) path before the network is loaded.  This may leave
enough room for LOGIN to extend the path into the memory formerly allocated
for the ...BIG_LONG_PAD_STRING...


Jim Conrad
jrc@hpbsrl.hp.com

dakwala@acsu.buffalo.edu (Nikhil Dakwala) (01/25/91)

Try increasing the environment size of your workstation. It can be
done so in the config.sys file.

At this stage, I presume that in your Shell.cfg file, the parameter: 
MAX PATH LENGTH is set to its default value 255, you might want to
check it anyway.

Nikhil
 

alan@curly.Viewlogic.COM (Alan Medsker) (01/26/91)

In article <14360001@hpdmd48.boi.hp.com>, jrc@hpdmd48.boi.hp.com (Jim Conrad) writes:
|> 
|> SET PATH=C:\;C:\DOS;OTHER_VALID_THINGS;JUST_A_BIG_LONG_PAD_STRING_TO_TAKE_SPACE
|> 	.
|> 	.

It's unwise to use SET PATH instead of PATH when Novell's shell is involved.  In at least
some circumstances, SET PATH causes problems.

Alan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alan Medsker                                 Viewlogic Systems, Inc.
Voice: (508) 480-0881                        293 Boston Post Road West
Fax: (508) 480-0882                          Marlboro, MA  01752
Internet: amedsker@Viewlogic.COM
cc:Mail: Alan Medsker at Viewlogic
CI$: 76376,662
BIX: amedsker
2 Meters: WB0SQR
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
My opinions, of course.  And don't hold me to them.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=