@@ -0,0 +1,1593 @@
+package seedu.ezdo.logic.commands;%0A%0Aimport java.io.File;%0A%0Aimport seedu.ezdo.commons.exceptions.IllegalValueException;%0Aimport seedu.ezdo.logic.commands.exceptions.CommandException;%0A%0A/**%0A * Changes the save location of ezDo.%0A */%0Apublic class SaveCommand extends Command %7B%0A%0A    public static final String COMMAND_WORD = %22save%22;%0A%0A    public static final String MESSAGE_USAGE = COMMAND_WORD + %22: Changes the save location of ezDo. %22%0A            + %22Parameters: DIRECTORYPATH %5Cn%22%0A            + %22Example: %22 + COMMAND_WORD%0A            + %22 C:%5C%5CUsers%5C%5CTom%5C%5CDesktop%22;%0A%0A    public static final String MESSAGE_DIRECTORY_PATH_INVALID = %22The directory path given is invalid.%22;%0A    public static final String MESSAGE_SAVE_TASK_SUCCESS = %22New Save Location: %251$s%22;%0A%0A    private final String directoryPath;%0A%0A    /**%0A     * Creates a SaveCommand using raw values.%0A     *%0A     * @throws IllegalValueException if the directory path is invalid%0A     */%0A    public SaveCommand(String path) throws IllegalValueException %7B%0A        directoryPath = path;%0A        File directory = new File(path);%0A        if (directory.exists() == false && !directory.isDirectory()) %7B // THIS PART SEEMS TO NOT WORK VERY WELL. C:%5C%5C// works. TODO%0A            System.out.println(%22file.exists has error and not directory%22);%0A            throw new IllegalValueException(MESSAGE_DIRECTORY_PATH_INVALID);%0A        %7D%0A    %7D%0A%0A    // TODO%0A    @Override%0A    public CommandResult execute() throws CommandException %7B%0A        assert directoryPath != null;%0A        return new CommandResult(String.format(MESSAGE_SAVE_TASK_SUCCESS, directoryPath));%0A    %7D%0A%0A%7D%0A

Create SaveCommand.java