Can we do removing software with batch file

Hi guys,
For some reasons, I cannot uninstall an application from Add/Remove programs in control panel.
My friend says that I can do removing software with a batch file.
Give me any syntax to do that.
Thanks.
