Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!timbuk!cs.umn.edu!kksys!edgar!mmug!f55.n282.z1.fidonet.org!Mike.Wilkins From: Mike.Wilkins@f55.n282.z1.fidonet.org (Mike Wilkins) Newsgroups: comp.sys.amiga.programmer Subject: Curr dir/exiting pgm/Shell Message-ID: <0.279F38E9@mmug.mn.org> Date: 24 Jan 91 14:35:00 GMT Sender: ufgate@mmug.mn.org (newsout1.26) Organization: FidoNet node 1:282/55 - Mike's Diner, Blaine MN Lines: 10 I'm writting a program that runs from Shell, and upon exiting the program, leaves the user in a different dir. I've used the chdir() command to change dirs. The problem is that allthough the directory does change, the path name on the Shell prompt remains at the old dir path. I've tried Lock() to lock the old & new dirs, then CurrentDir() to switch them. Same results, and the system gurus sometimes. This is beginning to be a real thorn. I'm sure the answer is very simple to you Amigaized C programmers. Could someone please HELP?