>1. I can't get WSH to give a return code.
>
>2. The API_APPRUN has a date of 1999. I am concerned about vista compatibility.
>
>Any comments?
>
1. What return code?
It just BOMB if there is something wrong in your command line. So you could put it in TRY ... CATCH block.
2. As far MS didn't change APIs in Vista that code should run, never tested it though.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.