c:
cd \
javac.exe -classpath . com\mindprod\mypackage\HelloWorld.java

rem alternatively
e:
cd E:\com\mindprod\mypackage
javac.exe -classpath .;C:\ HelloWorld.java