cmd's `&&` is the equivalent of bash's `;`. bash's `&&` has no equivalent in cmd.
Edit: Never mind, I'm apparently wrong.
Edit: Never mind, I'm apparently wrong.
> rm test.txt && java -version
rm: cannot unlink entry "test.txt": The system cannot find the file specified.