If you are running a Javadoc from DOS or the WinNT command shell, the proper command is
D:\JDK1.3\BIN\JAVADOC.EXE <params>
If you want to avoid typing this each time, type the following at the command prompt:
PATH=%PATH%;D:\JDK1.3\BIN
The command JAVADOC.EXE will then function without specifying the directory. The proper action is normally to add the JDK to your PATH environment variable when installing it.
In Windows 2000, you can modify your PATH variable by right-clicking My Computer and selecting the Advanced tab followed by the Environment Variables button. It is usually best to edit the PATH in the System Variables section to ensure that all users on your system receive the updated PATH variable.
In Windows 95/98, I -think- that the appropriate action is to open your AUTOEXEC.BAT file and locate the last line that says PATH=<stuff>. Add the following to that:
Old: PATH=C:\ADIR;C:\ANOTHER
New: PATH=C:\ADIR;C:\ANOTHER;C:\JDK1.3\BIN
I think this is appropriate for Win 95/98, but I'm not sure. Correct me if I'm wrong.
Good luck!