| Author |
Accessing JDK1.3.1 folder from the DOS root directory
|
Jessica Lang
Ranch Hand
Joined: Jul 23, 2002
Posts: 61
|
|
I tried accessing the JDK1.3.1 folder from the MS-DOS Prompt root directory ("C: ")by issuing the command "cd jdk1.3.1" and it says invalid directory. I am using Microsoft XP OS. Any clue? Thanks...
|
 |
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
|
|
This is provbably telling you that whatever program you are running (command prompt, etc.) is currently at a different "current working directory". Try: cd \JDK1.3.1 instead.
|
A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
|
 |
Jessica Sant
Sheriff
Joined: Oct 17, 2001
Posts: 4313
|
|
"Jessica"- Welcome to the JavaRanch! Please adjust your displayed name to match the JavaRanch Naming Policy. You can change it here. Thanks! and again welcome to the JavaRanch! PS... nice first name though
|
 |
Jessica Lang
Ranch Hand
Joined: Jul 23, 2002
Posts: 61
|
|
Hi Frank, The 'try' didn't work...but thanks for helping.. After much research, I have figured out the reason. I upgraded my Win 98 recently to XP recently. In my previous WIn 98 desktop, I have a MS-DOS Prompt shortcut, so, when upgraded the OS, this short-cut remains on the XP desktop. From my research, Win 98 uses Command.com while XP uses cmd.exe. Both commands treat the filename differently. In Command.com, it doesn't recognise "jdk1.3.1", 'cause it it confused with the many DOTS of the foldername...hence, it says "Invalid Directory". However, XP cmd.exe is about to recognise the "jdk1.3.1" foldername. So, I am using the XP cmd.exe which is activated from the START menu> ALL PROGRAMS> ACCESSORIES> COMMAND PROMPT I am glad that I have managed to solve these two problems today.....Thanks to JavaRanch, all the members and a very helpful fren called Tony....
|
 |
 |
|
|
subject: Accessing JDK1.3.1 folder from the DOS root directory
|
|
|