Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!dorm.rutgers.edu!medici From: medici@dorm.rutgers.edu (Mark Medici) Newsgroups: comp.sys.novell Subject: Re: Where, oh where has my path gone? Message-ID: Date: 31 Mar 91 06:28:46 GMT References: <1991Mar29.131908.21047@magnus.acs.ohio-state.edu> Distribution: usa Organization: Rutgers Univ., New Brunswick, N.J. Lines: 40 earp@magnus.acs.ohio-state.edu (James K Earp) writes: >We're running Netware 386 on ethernetjjhh (oops! Sorry!) on >an ethernet network. Only thing I can't figure out is how come >the PC paths get blown away when we login then logout. Looks like >the search paths replace the first directories in teh (sigh!) the >MSDOS path command. Any help is greatly appreciated! Use MAP INSERT SEARCHn:=vol:path This will insert the path into your existing search path. When you logout of the server, the network search mappings will be deleted but your original path will survive. Alternatively, you could do some environment variable acrobatics: rem LOGIN.BAT -- Saves current search path in env. var. OldPath rem and logs user in. set OldPath=%PATH% L:\LOGIN\LOGIN %1 rem LOGOUT.BAT -- Logs user out and restores previous search path c: Z:\PUBLIC\LOGOUT set PATH=%OldPath% set OldPath= Large search paths with small environments may result in an error. If this occurs, increase the environment size with the DOS 3.3 and higer command: SHELL=c:\command.com /e:640 /p in the config.sys file. You can vary the 640 to whatever size fits your needs. -- ----------------------------------------------------------------------- Mark Medici/SysProg3 * RUCS/User Services * medici@elbereth.rutgers.edu -----------------------------------------------------------------------