Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!unixhub!slacvm!esr From: ESR@SLACVM.BITNET (Ed Russell) Newsgroups: comp.os.msdos.misc Subject: Re: saving your current directory in a batch file Message-ID: <90276.131559ESR@SLACVM.BITNET> Date: 3 Oct 90 21:15:59 GMT References: <1990Oct3.191915.27046@watserv1.waterloo.edu> Organization: SLAC Computing Services Lines: 18 >Does anyone have a small program that allows you to save what disk and >directory you a presently in and later return you to that directory? >What I have in mind is something like the following application: > >--------------------------------- >@echo off >[save current directory] >d: >cd \wherever >[run application] >[return to original directory] >--------------------------------- > >In short, nothing fancy but good for running applications from anywhere on >the disk, without losing what place you are on the disk. (Ideal for the >helpless using the office software barely knowing what they are doing.) That is a simple matter using functions available in Personal REXX