Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello community,
In the custom menu , i want to use the environment variable %JAVA_HOME% may also to be use lax.nl.env.path variable. Could you please tell me How to call that from the "Customize User Button" windows?
Windchill RV&S 12.3.1
Any tips well be very welcome
Regards
Zeiad
Solved! Go to Solution.
Hi Zeiad,
Environment variable cannot be used in "Customize User Button".
You can refer to CS175170 for the details.
Regards,
Ivy
Hi Zeiad,
Environment variable cannot be used in "Customize User Button".
You can refer to CS175170 for the details.
Regards,
Ivy
Hi Zeiad,
I am using this script behind a custom command ("wscript runReport.vbs")
runReport.vbs:
Set WshShell = CreateObject("WScript.Shell")
cmds=WshShell.RUN("im runreport --hostname=%MKSSI_HOST% --user=%MKSSI_USER% --port=%MKSSI_PORT% --issues=%MKSSI_ISSUE0% --param=username=%MKSSI_USER% -g """&WScript.Arguments(0)&"""", 0, False)
Set WshShell = Nothing
And yes, I am using environment variables.
Does this help somehow?
Hi @VolkerEckardt ,
Thanks for your reply and sorry for my late response.
Of course it will be useful, AS always your ideas 😉.
Regards
Zeiad