KB IssueChanging directories while working in a DOS prompt will sometimes not work properly if you type in ch d:
Issue Details
When running DOS commands within a DOS PROMPT to change drive letters from the default drive will not always work when you type in cd d: or chdir d:
Copy
Search Site
Search Google
Recreate Issue
running the following commands does not always work.
Updated: June 20.2026. chdir
Copy
Search Site
Search Google
is for [PowerShell] only.
c:\documents and settings\USERNAME>cd d:
Copy
Search Site
Search Google

c:\documents and settings\USERNAME>chdir d:
Copy
Search Site
Search Google
Resolve Issue
Perform the following to make it work
c:\documents and settings\USERNAME>d:
Copy
Search Site
Search Google

d:\>
Copy
Search Site
Search Google
As you see, adding just the drive letter with a colon :
Copy
Search Site
Search Google
at the end d:
Copy
Search Site
Search Google
.
All that is needed is to change your drive directory.