Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!cbmvax!andy From: andy@cbmvax.commodore.com (Andy Finkel) Newsgroups: comp.sys.amiga.programmer Subject: Re: Curr dir/exiting pgm/Shell Message-ID: <18121@cbmvax.commodore.com> Date: 26 Jan 91 03:59:21 GMT References: <0.279F38E9@mmug.mn.org> Reply-To: andy@cbmvax.commodore.com (Andy Finkel) Organization: Commodore, West Chester, PA Lines: 24 In article <0.279F38E9@mmug.mn.org> Mike.Wilkins@f55.n282.z1.fidonet.org (Mike Wilkins) writes: > The problem is that allthough the directory does change, the path >name on the Shell prompt remains at the old dir path. Under 2.0, you would call the SetCurrentDirName() function. Under 1.3 you are going to have to change it in the process structure itself. Take a look at the structure definition in the dos include files before you begin. Make sure you do it under Forbid()/Permit() just in case someone else is looking at your process structure :-) andy -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "God was able to create the world in only seven days because there was no installed base to consider." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.