Mastering the Java CLASSPATH:
...
javac -classpath %CLASSPATH%;dir1
ir2 ...
Finally, please note that if directories in your class search path have spaces in their names, you may have to use double-quotes on the command line to prevent the CLASSPATH being split up. For example:
javac -classpath "%CLASSPATH%";dir1
ir2 ...
[ June 13, 2006: Message edited by: wise owen ]