There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Clean up script environment variables
Remove the environment variables created during the run of the script.
Include this before adding the Tools directory, to save the original PATH variable:
This snippit is placed at the very end of the script. For reference, I've included some of the additional variables I added for other functions (and which are included in other Issues I've posted). Obviously, any relevant variable can be included here as needed.
REM Unset variables used in script and restore original PATH