Error when Compiling - Please Help

Hi everyone I am having problems compiling my java applications, I had it working up until about a week ago when my computer crashed and I needed to reinstall everything.

I am using jdk1.3.1 and j2sdk docs, I am trying to compile a program called quadsolver which is located on the a: drive.

I am using the command:

A:\>javac quadsolver.java (copied straight from dos prompt screen)

and I keep getting the error message:

Bad command or file name

My CLASSPATH is c:jdk1.3.1\lib;

And my PATH is C:\WINDOWS;C:\WINDOWS\COMMAND;c\jdk1.3.1\bin

jdk1.3.1 and j2sdk docs are both on the c: drive

Can anyone tell me what is wrong please

Thanks everyone

[727 byte] By [java_novice1] at [2007-9-26 8:10:16]
# 1
"Bad command or file name" is a DOS error that means DOS can't find javac.exe. Even though your Path setting looks right, the problem must be associated with the Path setting. Are you sure that you installed in c:\jdk1.3.1? Make sure javac.exe exists in c:\jdk1.3.1\bin
atmguy at 2007-7-1 18:35:16 > top of Java-index,Developer Tools,Java Compiler...
# 2
And do correct your classpath, now you'd get NoClassDefFoundErrors...
jsalonen at 2007-7-1 18:35:16 > top of Java-index,Developer Tools,Java Compiler...