Command prompt won't change directory to another drive

后端 未结 11 2224
你的背包
你的背包 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 04:55

    I suppose you are using Windows system.

    Once you open CMD you would be shown with the default location i.e. like this

    C:\Users\Admin - In your case its admin as mentioned else it will be the username of your computer

    Consider if you want to move to E directory then simply type E:

    This will move the user to E: Directory. Now change to what ever folder you want to point to in E: Drive

    Ex: If you want to move to Software directory of E folder then first type

    E:

    then type the location of the folder

    cd E:\Software

    Viola

提交回复
热议问题