Suggest some method in finding batch net status for my project

Hi friends,
I had created the batch files to work with my project for DOS. I need to know the batch net status at the end of my batch script which restart services using net stop thing and net start thing. Please help me in finding the batch net status of my batch files.
