use ENV['ComSpec'] if no ENV['SHELL'] (for ease of use on windows)
Convert ComSpec to uppercase.