-11

I want to track a file on hard drive "D", while cmd is always opening to hard drive "C" by default.

As you see, I have a file in hard drive "D", but I want to track it on cmd. However I can't because cmd is on hard drive "C" by default.

karel
  • 13,390
  • 26
  • 45
  • 52
  • 4
    Please stop SHOUTING! – Hennes Aug 18 '15 at 11:32
  • 1
    possible duplicate of [CMD cd to other drives except C:\ not working](http://superuser.com/questions/302505/cmd-cd-to-other-drives-except-c-not-working) – MC10 Aug 18 '15 at 13:37
  • 2
    (1) What do you mean by "track a file"?  (2) What is `D:\ANDROID\adt-bundle-windows-x86-20140702\sdk\platform-tools`?  Is it a command?  (`platform-tools` is an unusual name for a command.)  What do you get if you type `dir D:\ANDROID\adt-bundle-windows-x86-20140702\sdk\platform-tools`?  If you get a "File Not Found" error, try it again, with an added `*` at the end. – Scott - Слава Україні Aug 18 '15 at 19:44

3 Answers3

2

Enter

D:

that should be sufficient

Skeeve
  • 19
  • 3
0
cd D:\folder\subfolder\directory

cd stands for Change Directory

if you want to open the cmd prompt at this location, create a shortcut to cmd, but set the start-in location to D:.. whatever your path was.

enter image description here

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
Fazer87
  • 12,520
  • 1
  • 36
  • 48
0

Starting cmd with the following command:

cmd /k D:
Loki
  • 13
  • 5