set path variable permanently from batch file.
Posted: 18 Mar 2010 03:21
Hi,
I am installing JDK silently from batch file. So, after installation of JDK completed successfully, I want to add path of JDK\bin to the environment variable (path).
I am using set path command to set the path, but it accepts the java command till the session of that batch file. But, I want to set the path of JDK to the path variable, permanently.
Is there any way to do this?
Thanks in advance,
JSF GEEKS
I am installing JDK silently from batch file. So, after installation of JDK completed successfully, I want to add path of JDK\bin to the environment variable (path).
I am using set path command to set the path, but it accepts the java command till the session of that batch file. But, I want to set the path of JDK to the path variable, permanently.
Is there any way to do this?
Thanks in advance,
JSF GEEKS