Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!ditaca!alawlor From: alawlor@dit.ie (Aengus Lawlor) Newsgroups: comp.dcom.lans Subject: Re: What does "link" mean in a 3Com LAN? Message-ID: <7159.25c96080@dit.ie> Date: 2 Feb 90 10:27:12 GMT References: <213.25c4249b@acci.com> <7158.25c887bc@dit.ie> Organization: Dublin Institute of Technology Lines: 37 In article <7158.25c887bc@dit.ie>, cahill@dit.ie writes: > If you are not using 3+Menus you could simply adapt f.bat > I see only one problem: > > 3+Menus ensures that the PATH and APPEND assignments made by > f.bat are only temporary and your original settings are preserved. > How it does this I don't know but would be interested to find out. > Normally if you run a batch job with such commands your original > settings will be overwritten. 3+Menus runs COMMAND.COM with F.BAT as a parameter. COMMAND get a copy of 3+Menus Environment table, which F then alters. When F is finished, COMMAND exits back to 3+Menus, who's environment hasn't been altered. Using 3+Menus this way chews up a LOT of memory, and many applications will choke on this. To achieve the same effect without 3+Menus, copy your path to a temporary variable with SET TPATH=%PATH% If you invoke APPEND with the /E option the first time you run it(at least under DOS 3.3), you will get an APPEND environment variable which can be saved in the same way. SET TAPPEND=%APPEND% At the end of your batch job, set PATH %TPATH% APPEND %TAPPEND% SET TPATH= SET TAPPEND= > > Conor Cahill > Dublin Institute of Technology > cahill@dit.ie > -- Aengus Lawlor Dept of Computer Science. Time flies like an arrow, ALAWLOR@DIT.IE Dublin Institute of Technology. Fruit-flies like a banana Kevin Street. Dublin 8. Ireland.