def create_command(self, name: str, path: str, command: str, icon_path: str = None) -> None:
        """
        Creates a key with a command subkey with the 'name' and 'command', at path 'path'.
        """
        key_path = join_keys(path, name)
        create_key(key_path)
        set_key_value(key_path, "", name)

        command_path = join_keys(key_path, "command")
        create_key(command_path)
        set_key_value(command_path, "", command)

        if icon_path is not None:
            set_key_value(key_path, 'Icon', icon_path)

        Creates a key with a command subkey with the 'name' and 'command', at path 'path'.
        
context_menu/windows_menus.py