Substantially improve pre-init checks in SetupEnv.cmd
Substantially improve pre-init checks in SetupEnv.cmd

The intent here is to use a more generic approach to avoiding running
our environment setup script for non-interactive CMD invocations.

ralish/dotfiles,ralish/dotfiles,ralish/dotfiles