Command prompt won't change directory to another drive

后端 未结 11 2218
你的背包
你的背包 2020-12-04 04:16

I\'m trying to compile some java (learning java currently), and to do so I need to change command-prompt\'s directory (using javac).

C:\\...\\Admin> cd D:         


        
11条回答
  •  不思量自难忘°
    2020-12-04 05:13

    Use drive letter d for changing to D drive like:

      C:\> d:
    

    When changing drives, you just need to type the drive letter, like d: (don't use the backslash, like d:\; it doesn't work).

    You only use cd when moving between directories within the same drive.

提交回复
热议问题