9
5
Possible Duplicate:
Using cd Command in Windows Command Line, Can’t Navigate to D:\
CMD cd to other drives except C:\ not working
I'm trying to run a program located on an external USB disk using the Windows command prompt. I'm running Windows 7 64-bit (running in VMWare Workstation 8.0.)
Here's what happens:
- I plug in the USB disk and it appears as drive letter 'E' in My Computer.
- I launch
cmd
from the start menu. - I notice the prompt
displays
C:\Users\Tom>
- I type
cd E:\
- I notice the prompt displays
C:\Users\Tom>
(cd
also yieldsC:\Users\Tom>
)
I can explore the drive using explorer.exe just fine, and it is connected according to VMWare Workstation. What am I doing wrong?
1If you were to type
cd e:\foo
while still on the C drive, then typede:
you would find that the folder would change not toe:\>
but toe:\foo>
May seem silly, but it can be useful when you need to copy several things to a long DOS path. Change the path, then you can just typecopy bar.txt e:
and it will go to the path you specified, rather than the root of e: and without having to re-specify the path. – techturtle – 2012-06-25T21:23:12.947Yes, that's the whole point of changing the CWD of different drive ;) – 0xAF – 2012-06-25T21:26:14.167