Do you mean change the initial directory of the dialog or change to another directory on command?
I don't understand what "on command" means.~Olego~
You could try finding the handle of the edit control and posting messages to it (feeding it the path and the return key to make it change dir).