dmurdoch@watstat.waterloo.edu (Duncan Murdoch) (03/23/90)
In article <5456.26090ce4@uwovax.uwo.ca> 2011_552@uwovax.uwo.ca (Terry Gaetz (UWO Astronomy)) writes: > >15a) Swap two directories. I am most frequently jumping back and forth > between two directories (eg. source directory and test directory). > It would save a lot of typing if DOS remembered the previous > directory and allowed one to jump back to it: > c:\firstdir> cd \anotherdir > c:\anotherdir> swapd > c:\firstdir> swapd > c:\anotherdir> [etc.] > This can be handled by a batch file, but I think DOS should do it. Not exactly the same, but even more useful, and possible right now: Just make sure you have enough spare drive letters, and put something like subst E: C:\ in your autoexec.bat. Then you can change to e:\firstdir and c:\anotherdir, and have easy access to both just by typing a couple of letters. In fact, I don't know why anyone uses any other form of the subst command. Duncan Murdoch