XWIKI-10266: Prevent command line scripts from closing their window under Windows
* Implemented using the PAUSE command which should work on all Windows versions