Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Microsoft DOS chdir command

Quick links

About chdir
Availability
Chdir Syntax
Examples

About chdir

Chdir (Change Directory) is a command used to switch directories in MS-DOS.

 

 

Availability

The chdir command is an internal command and is available in the below Microsoft Operating Systems.

All Versions of MS-DOS
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating systems

 

Resolved

Were you able to locate the answer to your questions?

Syntax

CHDIR [drive:][path]
CHDIR[..]
CD [drive:][path]
CD[..]

Examples

chdir\

Goes to the highest level, the root of the drive.

chdir..

Goes back one directory. For example, if you are within the C:\Windows\COMMAND> directory, this would take you to C:\Windows>

Windows 95, Windows 98 and later versions of windows allow you to go back more than one directory by using three or more dots. For example, typing chdir... with three dots after the cd would take you back two directories.

cdhdir windows

If present, would take you into the Windows directory. Windows can be substituted with any other name.

 

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope