This is hexOffender's quote: "except now both apps are opening at the same time, do I have to dispose of the WshShell object and recreate it?"
The f4 will close the other app, then the mwph patient images.exe will open, like it looks like it should.
How does the script work for you, hexOffender?