/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Environment variable

07/12/2018 525 views
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
Answer Summary:
Yep that worked - thanks heaps
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0
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/
Answered 07/13/2018 by: Maidens
Third Degree Blue Belt

All Answers

This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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