Adds the ability to specify path

This update allows an explicit path to be set rather
than purely relying on the TEMP environment variable.
Changes PATH to proper case

This changes PATH to Path
Land #3321, PATH for windows/local/persistence