Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!cs.uoregon.edu!ogicse!ucsd!mvb.saic.com!ncr-sd!ncrcae!hubcap!ddyer From: ddyer@hubcap.clemson.edu (Doug Dyer) Newsgroups: comp.sys.amiga.programmer Subject: Need help with AmigaDOS function Keywords: amigados os c Message-ID: <1991Mar20.035651.6652@hubcap.clemson.edu> Date: 20 Mar 91 03:56:51 GMT Distribution: comp Organization: Clemson University Lines: 22 AAAAAAAAAAAAAAAAARRRRRRRRRRRRGH! I have a program that calls chdir() with a path. THis should change the current directory, and it DOES! BUT when the program terminates, the cli prompt still has the old path displayed (and the path WAS changed, typing 'cd' gives the correct path). How can I get the shell to recognize the change? I've tried this befor I terminate the program: system("prompt %n.%s>") but prompt won't do anything. Could someone help me out? Thanks, Doug -- Hi, I'm a .signature file! Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee! flames to comp.sys.ibm.pc.misc --------------------------------------------------------------------------- Doug Dyer ddyer@hubcap.clemson.edu (2B)|!(2B) -> ?