Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!bionet!agate!usenet.ins.cwru.edu!po.CWRU.Edu!rkb From: rkb@po.CWRU.Edu (Robert K. Brunner) Newsgroups: comp.sys.handhelds Subject: Re: specifying paths w/variables & progs Message-ID: <1991Apr4.200847.12538@usenet.ins.cwru.edu> Date: 4 Apr 91 20:08:47 GMT References: <231b3618.670790994@fergvax> Sender: news@usenet.ins.cwru.edu Reply-To: rkb@po.CWRU.Edu (Robert K. Brunner) Organization: Case Western Reserve University, Cleveland, OH (USA) Lines: 35 Nntp-Posting-Host: cwns9.ins.cwru.edu In a previous article, 231b3618@fergvax.unl.edu (Ben Hollingsworth) says: >All this talk of renaming variables on the 48sx has made >me wonder: is it possible to specify a path when naming/ >executing a variable/program? Or how about jumping >instantly to a given directory (like cd)? > Suppose you have the following directory structure: { HOME } SUBDIR1 (A directory in the home menu) SUBDIR2 (A directory in the SUBDIR1 menu) MYPROG (A program in SUBDIR2) The command: { HOME SUBDIR1 SUBDIR2 } EVAL will change the current directory to SUBDIR2 from anywhere. (Like cd \subdir1\subdir2 ) { SUBDIR1 SUBDIR2 } EVAL will change the current directory to SUBDIR2 from HOME. (Like cd .\subdir1\subdir2 ) { HOME SUBDIR1 SUBDIR2 MYPROG } EVAL will change the current directory to SUBDIR2 from anywhere and execute MYPROG. After MYPROG terminates, { HOME SUBDIR1 SUBDIR2 } remains the current directory. This is a very annoying feature. { HOME SUBDIR1 SUBDIR2 MYPROG } RCL EVAL will run MYPROG without changing the current directory. Gotta go now. Robert