Det her er et eksempel på en bat fil de bruger.
REM Sample Javadoc batch file for Windows
javadoc ^
-J-Xmx100M ^
-d docs ^
-use ^
-splitindex ^
-windowtitle "Java 2 Platform v1.3 API Specification" ^
-doctitle "Java<sup><font size="-2">TM</font></sup> 2 Platform v1.3 API Specification" ^
-header "<b>Java 2 Platform </b><br><font size="-1">v1.3</font>" ^
-bottom "<font size="-1"><a href="
http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font>" ^
-group "Core Packages" "java.*" ^
-overview i:\java\pubs\ws\1.3\src\share\classes\overview.html ^
-sourcepath i:\java\pubs\ws\1.3\src\share\classes ^
java.applet java.lang