Path: utzoo!attcan!uunet!husc6!rutgers!netnews.upenn.edu!lfk From: lfk@mbio.med.upenn.edu (Lee Kolakowski) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Looking for an interactive directory change pgm. Message-ID: Date: 15 Jul 89 21:00:05 GMT References: <3311@cs.dal.ca> <1146@atanasoff.cs.iastate.edu> <1046@hawkmoon.MN.ORG> Sender: news@netnews.upenn.edu Distribution: na Organization: University of Pennsylvania, Dept. of Chemistry Lines: 42 In-reply-to: det@hawkmoon.MN.ORG's message of 11 Jul 89 03:11:40 GMT You could of course get a real shell that is programable (MKS toolkit's ksh) then On 11 Jul 89 03:11:40 GMT, det@hawkmoon.MN.ORG (Derek E. Terveer) said: >> cd z:\path\to\your\application >> application /with /your /favorite %1 %2 %3 /switches %4 %5 >> cd c:\ > ^^^^^^^ > and what if my original directory was not c:\ ? could be written as where_i_start=$PWD >> cd z:\path\to\your\application >> application /with /your /favorite %1 %2 %3 /switches %4 %5 >> cd c:\ # instead of cd c:\ cd $where_i_start and then your finished. BTW, I am only a very satisfied customer of MKS.....etc -- Frank Kolakowski ===================================================================== |lfk@mbio.med.upenn.edu || Lee F. Kolakowski | |kolakowski@mscf.med.upenn. || Univ. of Penna. | |c/o jes@eniac.seas.upenn.edu || Dept of Chemistry | |kolakowski@c.chem.upenn.edu || 231 South 34th St. | |bcooperman.kolakowski@bionet-20.arpa || Phila, PA 19104 | |AT&T: 1-215-898-2927 ||--------------------------| |#include || One-Liner Here! | =====================================================================