Get the version of Windows SDK
        from VCVarsQueryRegistry.bat.

def get_sdk_version(self):
        """Get the version of Windows SDK
        from VCVarsQueryRegistry.bat."""
        name = 'VCVarsQueryRegistry.bat'
        path = os.path.join(self.tool_dir, name)
        batch = read_file(path)
        if not batch:
            raise RuntimeError(_('failed to find the SDK version'))
        regex = r'(?<=\\Microsoft SDKs\\Windows\\).+?(?=")'
        try:
            version = re.search(regex, batch).group()
        except AttributeError:
            return ''
        else:
            logging.debug(_('SDK version: %s'), version)
            return version