Hi 

Can someone please help me with a VB script to add the following system variable to the system;

Variable Name: JAVA_HOME
Variable value: C:\Program Files\Java\jre1.8.0_171\

Thanks heaps