Method Filesystem.Stat()->cd() class Filesystem.Stat Method cd object cd() Description Change to the stated directory. Returns the directory if the stated object was a directory, 0 otherwise.