This small program would wait with returning to Diropus until I uhm, pressed the left mouse button..
As Thomas alrteady pointed out, you don't need external programs to do that. Go to ConfigOpus and edit your button. The field "close delay" determines how many seconds the shell window will stay open once the external command has finished. Enter "-1" here and the window will only be closed once you press the left mouse button.
I needed this because after configuring a button to do a c:version of a certain file
Download this package from Aminet:
http://aminet.net/package/biz/dopus/DOpus4PlusIt contains a bunch of ARexx scripts. One of them is called "WinVersion", it will display the version number of the selected file(s) in a standard DOpus requester.