CHDIR Displays the name of or changes the current directory.
CHDIR 显示当前目录的名称或将其更改。
The CD command is short for the CHDIR command, enter a folder.
CD命令是CHDIR命令的简称,作用是进入某个文件夹。
After we complete our processing, we can pass the pathname obtained from getcwd to chdir to return to our starting location in the file system.
在程序完成后,我们可以通过getcwd保存的路径返回到开始的位置。

词典释义: