I understand the purpose of setting classpath and path. What does " % " and " ;.; " signs signify while setting these in the autoexec.bat file ? What is the importance of using a semi colon " ; " ? Is it necessary to put it at the end of every statement?
Also what happens to the old path/classpath settings? Do these stay or are to be deleted in the Autoexec.bat file??
The % sign is for macros or system environment variable, so if you have PATH=%PATH%;<your path> it will use the "old PATH" value and add it into the new "PATH" value. the ";.;" is nothing but adding the "." directory which is always the current directory you are in. The extra ; is just the separator in the PATH variables. People usually add the ".", so whatever directory they are in will always be in the PATH or CLASSPATH