If I shell out to NotePad it works fine, but if I Shell out to WordPad the instructions after the shell out get executed before the Shell Out. The only way I have found to make it work correctly is to put a "Wait" following the Shell out. I'm sure it's somthing simple but so far I cant seem to figure it out.