Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!brutus.cs.uiuc.edu!psuvax1!psuvm!RELAY!FUND From: Fund@RELAY.PROTEON.COM Newsgroups: bit.listserv.novell Subject: DOS Environment Variables Reply Message-ID: <9002090507.AA01349@monk.proteon.com> Date: 9 Feb 90 04:42:00 GMT Sender: Novell LAN Interest Group Reply-To: Novell LAN Interest Group Organization: Proteon, Inc., Westborough, MA 01581 [(508)898-2800] Lines: 30 Approved: NETNEWS@PSUVM Gateway Posted-Date: Fri, 09 Feb 90 00:02 EST X-Vers: CCMail to SMTP translator by Alan Marshall vers 2.24 8/30/89 X-To: Novell@suvm.acs.syr.edu >We have a multi-server network where I would like to have a drive >mapped based on a previously set DOS environment variable. >Is there any way to include DOS Environment variables in a login >script? Say for instance: >C> SET NET=KING >C> MAP S1=%NET%/SYS:PUBLIC -Robert L. Dahlen The first one is easy: DOS SET NET="KING" The second is a problem: I believe you will have to explicity state what %NET% is. I do not know of a way of importing environmental variables. Glenn Fund Internet: Fund@Relay.proteon.com Principal Research Specialist CompuServe: 75170,1060 Lockheed Sanders cc:Mail Fund at Proteonwebo DW Highway South Phone: (603) 885-6242 MS NHQ4-0138 Director of The Greater Boston Area Nashua, NH 03061 Novell Users Group. Co-Founder and President of the Affiliation of NetWare Users "ANU Day Is Dawning"