A while back I smashed together this multithreading code in vbscript and I\'ve just pulled it out again to apply it to another problem. I\'m now having an issue where the return
Sorry, wsh.Run() is not threading by any stretch of the imagination. It starts a new process, not a thread.
Getting 0 as a return is the expected outcome if you do not use the 4th argument. Documentation is here.