This FAQ has been asked and answered many many times.
HTH
In reply to Re: runn command & get outut by VSarkiss in thread run command & get output by Anonymous Monk