wrong version of software executed
search path not set correctly
Check that your PATH variable includes the Diamond installation folder, and that it comes before any other folder containing any program with the same name as a Diamond command.