Explanation of the CHDIR (CD) command. It is INTERNAL. It either shows the current directory or changes into a sub-directory. Example: By using either one of these commands you will change into the test directory: chdir test or cd test