How do I go to the directory I saved the file in? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I go to the directory I saved the file in?

How do I go to the directory I saved the file in? When I open the Command Prompt I have a line with: C:\Users\Owner> I can't erase this, so do I just add on the file directory like this? C:\Users\Owner>C:\Program Files (x86)\Notepad++>javac ExampleProgram.java When I tried this it said that it does not recognize C:\Program as an internal or external command, operable program or batch files.

4th Dec 2016, 5:43 AM
Heather Mehain
2 Answers
+ 3
'cd ..' (its 'cd' space point point) its used to go up in the directory. cd stands for current directory. You can move with that command where you want.
4th Dec 2016, 5:48 AM
Nahuel
Nahuel - avatar
+ 1
Thank you. For anyone else who doesn't know how to use cd, this website was very helpful: www.skylit.com/javamethods/faqs/javaindos.html
4th Dec 2016, 5:59 AM
Heather Mehain