or cmd >outputfile 2>&1
to catch any errors as well
thanx,
bill