opal-tools
opal-tools copied to clipboard
Resolve environment variables during setup when appropriate
During setup, we can use environment variables where appropriate, e.g. %USERPROFILE% which points to the user's home directory under Windows.
It should be resolved to a physical location when prompted for the location of the local user configuration directory because we need to copy the files to a specific directory during setup for the current machine we are on.
It should not be resolved when being prompted for the script name. This script name is being inserted into each batch script and thus we need the environment variable here ... because it will resolve to a different phyical path dependent on the user executing the script at runtime.