The Esstu Pack

Index

Restart WPS

Short REXX script to restart the WorkPlace Shell without rebooting the computer.

Warning: After the WPS restarts, various curious phenomena can be observed, such as default icons for objects changing. As far as I know, this will have no permanent side-effects, and will be cured next reboot, but I mention this in case you wonder about it.

What this script actually does is kill the second PMSHELL.EXE process. In a standard install of OS/2, using PMSHELL.EXE as RUNWORKPLACE, this will restart the WPS. If you use some other shell, take care. You may be able to use this program merely by changing the name of the program searched for, but I haven't tested this at all. Don't use this if CMD.EXE is your RUNWORKPLACE - there are other CMD.EXE processes, and RestartWPS would probably kill the wrong one.

With the death of the PMSHELL process, various other programs may also die. Folders, the toolbar/launchpad, and WarpCenter will close, and some other programs may as well, such as the NPS WPS Enhancer. None of these will be restarted.

File: RestartWPS.ZIP
Requires: REXX, PSTAT.EXE (comes with OS/2; must be in PATH), RXEXTRAS
Installation: None.
Operation: Run. The WorkPlace Shell should restart. If it doesn't, take care.
De-installation: Delete.
Distribution: Open Source.