>Which part is the error taking place in - the Shell call or the targeted program? If the targeted program does it return an error level (you could test this with ERRORLEVEL in a batch file) ?
I'm not sure how can I use ErrorLevel for something useful and do I have to create a bat file on the fly in order to ger ErrorLevel?
I'm currently just passing this command
wzzip "\\jzanus8\it_testing\Operations\Policy_Search\P0150897.ZIP.G0001V00" "\\jzanus8\it_testing\Operations\Policy_Search\P0150897.D060727.DAT"
Also oShell returns 0 but I didn't specify the path to file wzzip, so it should fail with file not found error. If I do it as a bat file I see the error on the screen that wzzip is not recognized... I need to trap this error into my text variable.
If it's not broken, fix it until it is.
My Blog