PATH
Information (Printer Friendly Version provided by
Swan-Anti
Solutions) To set the Windows Path you have to consider two things.
In Autoexec.bat insert the code as followes
rem --------Starts at first line
path=c:\windows;c:\windows\command
To load the doskey you have to give
c:\windows\command\doskey.com
which will capture all the command prompt commands in buffer which can be
found by pressing F7.
After Installing Java Development Kit if the path is not
set then give the code as mentioned belove
In Autoexec.bat
insert the lines given below at last
rem -----------Starts here
path=[drive]:\[jdk directory]\bin;%path%
classpath=[drive]:\[jdk directory]\lib
rem ====end of file========
Actually %path% means take the previously existing path which is already set
for path.
where as Path is System Variable.
classpath is to include class files path which are necessary to run java.