Jump to content

Windows CMD cd command not working (Command Prompt)


11 posts in this topic

Recommended Posts

Hey, I have had loads of problems while trying to install os x. My installation DVD wont install properly, so I plan on installing the deadmoo image then upgrading it with my install dvd.


I am using a windows method (as I have been having problems wiht linux) to install os x. when I open cmd and change teh directory "cd" it does nothing.

ie. this will happen


D:/Documents and Setting/****>

i type

D:/Documents and Setting/****>cd C:

and it displays


D:/Documents and Setting/****>


It does them both at the same time so i dont have time to type anythign while it's at C:

(I have windows on D and my image on C)


How can I fix this problem?

Thanks in advance.

Link to comment
Share on other sites

At least I bother to research my answers. Explain this behaviour:


cd /?


Displays the name of or changes the current directory.


CHDIR [/D] [drive:][path]

CHDIR [..]

CD [/D] [drive:][path]

CD [..]


.. Specifies that you want to change to the parent directory.


Type CD drive: to display the current directory in the specified d

Type CD without parameters to display the current drive and direct


Use the /D switch to change current drive in addition to changing

directory for a drive.


If Command Extensions are enabled CHDIR changes as follows:


The current directory string is converted to use the same case as

the on disk names. So CD C:\TEMP would actually set the current

directory to C:\Temp if that is the case on disk.


CHDIR command does not treat spaces as delimiters, so it is possib

CD into a subdirectory name that contains a space without surround

the name with quotes. For example:


cd \winnt\profiles\username\programs\start menu


is the same as:


cd "\winnt\profiles\username\programs\start menu"


which is what you would have to type if extensions were disabled.


This is the usage for the command cd.


Care to explain?

Link to comment
Share on other sites

Hey, YOU were the one who claimed that you couldn't change drives by the other method, so don't go telling me about researching things.


While you apparently CAN change drives in that way (I have never used it that way myself), the simplest and most reliable way is the way I mentioned earlier, and it works in all versions of Windows and DOS. The CD method was only added, if I am not mistaken, with Windows 2000 or maybe XP.


I've always believed in using the simplest method that gets the job done. Why make things more complicated than they have to be?

Link to comment
Share on other sites

If you type cd <drive letter>: You get what WUZZIE saw...

H:\>cd c:



If you just type <drive letter>: It changes drives





If you type cd /d /<drive letter>: It also changes drives.


C:\>cd /d h:





Who cares really is it worth arguing dos commands? Use what you are comfortable with or change to something that doesnt use drive letters like osx solaris aix or linux.

Link to comment
Share on other sites


  • Create New...