It's not a secret anymore!
The moose likes Beginning Java and the fly likes Using an external harddrive and DoS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Using an external harddrive and DoS" Watch "Using an external harddrive and DoS" New topic

Using an external harddrive and DoS

Stephen Adams

Joined: Mar 18, 2002
Posts: 22
Now for my second question of the day, I am using a small laptop, that due to the lack of size on the harddrive had to buy an 20GB external harddrive that plugs straight into the back of the machine. I installed JDK on there, but when I try to use DoS to complile my Java classes I can't seem to get to the folder where my code is keep.
So I have to use the compile button on the IDE I'm using (which is JCreator Lite by the way). Now I have no problem using JCreator, but I'd like to able to use to DoS to compile my programs, but I can't access the folder I want.
I put in cd E:\JavaCourse in the command prompt, but i keep getting a message telling me that folder cannot be found and I know it is there.
Does anyone know why I can't do this?
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
What happens if you type just "E:" at the Dos prompt, and then type "cd \JavaCourse"? Can you now get a directory listing (dir command)?

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Using an external harddrive and DoS
It's not a secret anymore!