Thursday, April 4, 2002 01:37 AM
This is not a Java question. You might be better trying a DOS/Windows forum for this type of question but here goes anyway...
The 'autoexec.bat' file is used when booting a DOS or Windows system to invoke any programs that need running at startup and initialise any environment parameters that need setting.
The PATH and CLASSPATH parameters are examples of environment variables. An environment variable is a place holder for information used by the operating system or command shell that you are running in. The PATH environment variable contains a list of directories that the operating system should look in when trying to find a program to run if you don't explicitly specify the directory in which the program exists. For example, if you typed 'cmd.exe' at the command prompt rather than 'C:WindowsSystem32Cmd.exe' etc. The CLASSPATH environment variable tells the Java compiler or virtual machine where to find Java class files to execute.