I can browse all the websites in my company work station, but not open the command prompt and ping any website. This has happened in 2 of my previous companies too. Do companies block ping?Why do companies do that ?
It has to do with the issues caused by it in the past ("Ping of death"), so some sites block it at the firewall level to avoid them:
Source: ping of death
You may try the tracert command, but that is probably blocked too.
The system administrators probably see ping as a security issue for some reason. AKA 99% of their users are inexperienced and have no use for the ping command, and the 1% that know it are most likely to be capable of compromising security.
Potentially, someone's malware might send pings to a remote server in order for that server to log the IP of the pinging machine.