RunToClose is a free portable tool that closes the explorer window automatically once you to run a file.
How to use:
Just run the tool and it will sit in the system tray. Now whenever you run a file, it will close the explorer window automatically.