James Cort wrote: > When run through wpkg, it seems to stop doing anything as soon as it > hits a command in the batch file which spawns another process. > Certainly line 31 (net start ...) Replying to myself here, but I found a workaround. If I configure wpkg client so the script is run as an "Execute before wpkg", the script runs perfectly and if it returns a nonzero code, wpkg doesn't get run. James. -- James Cort IT Manager U4EA Technologies Ltd. -- U4EA Technologies http://www.u4eatech.com |