Difference between "compare with" and "compare to"

Hi, I have been trying to figure out the difference between compare with and compare to. Once I have been told that “compare with” means you are comparing something that is less superior, and compare to is general.Not quite sure though.
Thank you.

Good morning. You are merely making a comparison between two things/people.

No decision as to inferiority is being implied at this point, but may be stated at a later time.

english-test.net/forum/ftopic8856.html

Thank you very much.