I run command line of Windows 8.1 as Admin. I'm trying change disk from C:\ to D:.
My command:
As you can see CD can change only in current (C:) disk. How can I move to D?
I looked for disk D properties and there Admin have all access to all activity:
each drive has its own concept of the current directory. CD
changes the current directory, and if you specify a drive letter, it changes the current directory of that drive, rather than (by default) the current drive.
If you want to change the current directory of a different drive, and switch the current drive to that drive also, you use /d
:
CD /d D:\
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With