Originally Posted By: StevenNT
That appears to work, looks like I didn't have the $rc = part which made it fail.
The $rc part has no role in the success or failure. It simply keeps the return code from being written to the console.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.