If Command Extensions are enabled CHDIR changes as follows: Use the /D switch to change current drive in addition to changing current directory for a drive. Type CD without parameters to display the current drive and directory. Type CD drive: to display the current directory in the specified drive. Specifies that you want to change to the parent directory. CD is an internal command available in the following Microsoft operating systems:Ĭd syntax Windows XP and later syntax CHDIR