Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpfcso!hpfinote!pnl From: pnl@hpfinote.HP.COM (Peter Lim) Newsgroups: comp.sys.ibm.pc Subject: Re: 4DOS can do 'cd -' !! Message-ID: <19450052@hpfinote.HP.COM> Date: 9 May 90 19:25:50 GMT References: <19450047@hpfinote.HP.COM> Organization: Hewlett Packard CICD Lines: 24 > What is swd? I don't seen to understand the benefits of what you've > picked up. No offense, just want to know what you've discovered, etc.. > > -Rob Konigsberg Very simple ! swd is "swap directory stack". My great discovery is that I can go one step further (instead of typing swd on the command line; which requires me to remember a different command than the UNIX environment) and alias 'cd' such that 'cd -' will do 'swd' and you don't need to use pushd to get around to be able to back track since the new alised 'cd' will do that for you. To see the effect, run 4DOS 3.0, put the two lines I posted into a file say 'xxxx'. Then do a 'alias /R xxxx'. From here on, do a few 'cd' around and try a few 'cd -'. Regards, ## Life is fast enough as it is ........ Peter Lim. ## .... DON'T PUSH IT !! >>>-------, ########################################### : E-mail: plim@hpsgwg.HP.COM Snail-mail: Hewlett Packard Singapore, : Tel: (065)-279-2289 (ICDS, ICS) | Telnet: 520-2289 1150 Depot Road, __\@/__ ... also at: pnl@hpfipnl.HP.COM Singapore 0410. SPLAT !