How I fixed rsync installation issue (rsync is not recognized)

If this helps anyone.

I could not get rsync to be recognized from the command prompt. Here is how I resolved the issue.

I added the C:\MinGW\msys\1.0\bin as a separate line in the environment variables window


I uninstalled the rsync application using the Mingw installation manager (just type this into your windows search box. I then rebooted and re-installed.