Method cd() Method cd int cd(string s) Description Change the current directory for the whole Pike process. Returns Returns 1 for success, 0 (zero) otherwise. See also getcwd()