1

Possible Duplicate:
CMD cd to other drives except C:\ not working
Can’t change current working directory to external drive in Windows

I have a Linux host and a WindowsServer2008 guest. In this guest, if I try to

cd E:/

(same as E:\ )

I can't (still in my "home"). See :

enter image description here

Am I missing something or there's a problem somewhere ?

(I'm more familiar with Unix tools)

1
  • 1
    Nope, not a duplicate. It is related, but completely different. A shared folder is a network drive, not an external drive. That said, based on the provided answers and acceptance, it is not about shared folders at all.
    – Synetech
    Commented Nov 30, 2012 at 18:02

2 Answers 2

3

In Windows you just enter the drive name. So instead of cd E:\ you would just enter E:.

2

cmds cd normally allows you to change only within current drive. If you want to switch drive at the same time, you'd have to use /d switch: cd /d e:\ would work. And you should use backslash \ instead of forward slash / for paths :-)

4
  • Thanks, but it should be : cd /d e: to work correctly =) Commented Nov 30, 2012 at 12:43
  • I'm not sure what exactly you want to do; cd /d e: has the same effect as e:; both will move you to whatever current directory drive e: was set to (it does not need to be e:\, it may be e:\something). To move to different drive and set it's current directory at the same time, you should use cd /d path
    – wmz
    Commented Nov 30, 2012 at 12:53
  • I mean `cd /d e:` doesn't cd to E: but fails. Commented Nov 30, 2012 at 13:01
  • Strange, it should work, but probably deserves it's own question if it's something you'd like further explained. Btw if you want to see full cd (or other internal cmds) syntax, just enter 'help cd' at the prompt
    – wmz
    Commented Nov 30, 2012 at 13:24

Not the answer you're looking for? Browse other questions tagged .