The "move" command is part of the
cmd.exe Windows shell interpreter. It is not a standalone application. You'd therefore need to execute the following command line:
cmd /c move file1 file2
Also note that your files contain spaces and you'd need to enclose them in double quotes. Furthermore, you need to read
this famous article before you write code to execute an external program.
All in all, this is a lot of work to do an operation which is naturally supported by
Java (see
File.renameTo()). Of course, if you're moving across drives, that would be different, but there are still libraries like Apache Commons which I'd prefer to do this kind of job.