Command prompt won't change directory to another drive

后端 未结 11 2259
你的背包
你的背包 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:02

    The directory you're switching to is on another drive, you need to switch to that drive using :

    C:\...\Admin> d:
    

    then you can cd into the directory you want.

    C:\...\Admin> d:
    D:\>cd "Docs\Java"
    
    D:\Docs\Java>
    

提交回复
热议问题