Forum > Editor

How can I change the working directory?

(1/1)

orktes:
What command should I use to change the working directory while the program is running? Is there something like (cd) in pascal?

Lightning:
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:
SetCurrentDir(path:string)

Cheers
Mike

Navigation

[0] Message Index

Go to full version