How can I change the working directory? lazarus / 9-Editor ---------------------------------------------------------------------- orktes · 2005-03-17 12:28 What command should I use to change the working directory while the program is running? Is there something like (cd) in pascal? ---------------------------------------------------------------------- Lightning · 2005-03-18 12:00 Why do you need to change it ? I see no reason to do it, anyway there must be a function, maybe it's not crossplatform, you can use the API functions too, search for Dir, Directory, Change, whatever. ---------------------------------------------------------------------- mikiwoz · 2005-03-18 22:44 SetCurrentDir(path:string) Cheers Mike