File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: compile with command line: change drive