--- In [email protected], "Shishir Sharma" <[EMAIL PROTECTED]>
wrote:
>
> 
> how can we know the return status of last program through a programm 
> if ans is platform spesefic the please tell about both windows and 
> linux...

Hi,
   On Linux/Unix "$?" should do the trick.
You can try echo $? after a command to know its return status.

-Saurabh


Reply via email to