/build/static/layout/Breadcrumb_cap_w.png

Environment variable

Can someone please help me with creating a VB script to add the following environment (system) variable?

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

Thanks heaps

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Yep that worked - thanks heaps
Posted by: Maidens 6 years ago
Third Degree Blue Belt
0

Top Answer

https://blogs.technet.microsoft.com/heyscriptingguy/2005/03/18/how-can-i-create-an-environment-variable-using-a-script/

https://www.geekshangout.com/using-vbs-to-read-and-set-environment-variables/
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ