Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!sun!burgundy!jborza From: jborza%burgundy@Sun.COM (Jim_Borza) Newsgroups: comp.sys.ibm.pc Subject: Re: How do I remember my current directory? Message-ID: <88279@sun.uucp> Date: 3 Feb 89 17:00:04 GMT References: <3536@mipos3.intel.com> Sender: news@sun.uucp Lines: 19 In article <3536@mipos3.intel.com>, tom@ismdqa.intel.com (Tom Soukup ~) writes: > > Hi All, > > Is there any way in MS-DOS to save the current working directory in a > variable? > I need to change directories in a .bat file and would like to be able to > return to where I started when finished. > > Thanks for the help > Tom > DISCLAMER: Intel doesn't agree with much of anything that I say. PC Magazine published a pair of utilities called PUSHDIR and POPDIR which do exactly that. It's been around for several years so they should be on a lot of BBSs, or can be gotten from their own services (IRS and PC MagNet). Jim Borza - Sun Microsystems Disclaimer? Sure, why not?