This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes compile with command line: change drive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "compile with command line: change drive" Watch "compile with command line: change drive" New topic
Author

compile with command line: change drive

Georgios Anthitsis
Greenhorn

Joined: Jul 15, 2007
Posts: 3
Hello,

I usually save my java files in the c drive and have no problem compiling them via command line.
Now I saved a java file in the e drive and cannot compile it because I don't know how to change drive in the command line.
When I type "C:\>cd E:" it writes in the next line "E:\" then there's a blank line and then it's back to "C:\>" with the cursor blinking.

What can I do?

Thanks in advance!

Kind regards
Georgios

(Please excuse my poor english...)
Jeff Rummings
Ranch Hand

Joined: Dec 20, 2007
Posts: 42
Try typing E: (without cd).
Georgios Anthitsis
Greenhorn

Joined: Jul 15, 2007
Posts: 3
Thank you very much, Arman!
It worked!
Georgios Anthitsis
Greenhorn

Joined: Jul 15, 2007
Posts: 3
Thank you very much, Arman!
It worked!
 
Consider Paul's rocket mass heater.
 
subject: compile with command line: change drive
 
Similar Threads
Getting the free disk space
Access is denied error message
Trouble running first application
Package visibility problem
GuessGame.java:2: cannot resolve symbol