Directory Not Changing in DOS with cd command

Discussion in 'Windows 7' started by laylos, Nov 2, 2010.

  1. laylos

    laylos MDL Novice

    Nov 1, 2010
    10
    0
    0
    Hi

    New to DOS. Have a new laptop with win 7

    I need to get to my c:\program files in ms dos but can't seem to get out of the d: drive. When I enter "cd c:\Program Files" nothing happens. I can't get out of D:. D is denoted the 'Media"drive on the dell I've just got.

    Any help.

    Sorry of this is not the correct forum, but have W7

    Thanks
    Steve
     
  2. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    120
    Just type: C:
    Then: cd C:\Program Files
     
  3. offon7544

    offon7544 MDL Expert

    Sep 27, 2007
    1,018
    8
    60
    Just add /D when you change drive letter :

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Phazor

    Phazor MDL Expert

    Sep 1, 2009
    1,144
    518
    60
    Wait a sec...youre trying to access an NTFS formatted volume from DOS?

    Dont think thats gonna work...

    Or is it FAT formatted?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. laylos

    laylos MDL Novice

    Nov 1, 2010
    10
    0
    0
    Hi Guys

    Many thanks for the replies. Both seem to work OK.

    @Phazor: How do I check which format it uses. I have hard drives on the laptop. D I can select Properties from explorer and it says NTFS, but when I click Properties on the C drive it gives me the System windows usually available by going through Control Panel>System...where I can't seem to find the format type.

    Thanks
    Steve
     
  6. Phazor

    Phazor MDL Expert

    Sep 1, 2009
    1,144
    518
    60
    Since you didnt mention installing 7 deliberately to a FAT volume im pretty much positive that it is NTFS, however, you can try DiskManagement just to be 100% certain:

    START/AdministrativeTools/ComputerManagement/DiskManagement

    This will show all your volumes and their current attribs...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. laylos

    laylos MDL Novice

    Nov 1, 2010
    10
    0
    0
    Thanks

    They're both NTFS

    Steve
     
  8. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    You can use the TAB key. From any folder, just start typing the folder name & press TAB (the \ means starting from root):
    cd \proTAB

    This will now change to :
    cd "\Program Files"

    If you keep pressing TAB, you'll get other folders.. etc "Program Files", "ProgramData", etc Even if they are hidden...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. OleBent

    OleBent MDL Member

    Aug 22, 2007
    122
    1
    10
    Hehe Didnt know that one.....

    Very cool....
     
  10. laylos

    laylos MDL Novice

    Nov 1, 2010
    10
    0
    0
    Yep

    That is pretty cool. Cheers
    Steve