Using environment variables
Published: September 29, 2016 - 12:49 PM
Good morning,
I would like to understand how environment variables are used in wapt packages.
For example, I want to launch a VBScript from a command line:
cscript.exe is located in c:\windows\system32, so its environment variable would look something like %systemroot%\system32
In my setup.py file, how do I interpret the systemroot variable? (I have several somewhat unusual installation scenarios where Windows is not stored in C but on another drive.)
Thank you in advance for your insightful answers
I would like to understand how environment variables are used in wapt packages.
For example, I want to launch a VBScript from a command line:
Code: Select all
cscript.exe mondossier\monscript.vbsIn my setup.py file, how do I interpret the systemroot variable? (I have several somewhat unusual installation scenarios where Windows is not stored in C but on another drive.)
Thank you in advance for your insightful answers