Is there an easy way to ignore the return codes from a program.

The situation is we want to run 3 AT commands
1: Clear anything there
2 & 3: Set auto shutdown times

Problem is if nothing exist it doesn't appear to get pass the first AT command. We don't really care what it returns. So is there an easy way to say just run this and continue regardless?