Area: Os2, Msg #833, 12:36pm Nov-07-91 From: Jay Rolette To: All Subject: Restoring Workplace Shell I got this from our internal forums and it has proved to be EXTREMELY useful. I'm just going to pretty much quote the note directly... /\/\/\/\/\/\/\/\/\/\/\ Cut Here /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Since the problem of "losing" objects seems to be a common one, and also, since many folks need a way to re-install and reconfigure, I thought the following little REXX program would be useful. The program uses the ability of REXX to modify OS2.INI. Most of the objects initially set up on the workplace shell are created by the shell on the first boot after installation. The means this is done is that the OS2.INI built during install contains "appname keyname keyvalue" for the objects to be installed. You can look at the INI.RC file in the OS2 subdirectory for the set of things placed into the OS2.INI initially. /* This rexx command file can be used to install objects that you */ /* have lost, etc. Just edit it to install those object you */ /* want. */ call RxFuncAdd 'SysLoadFuncs' , 'RexxUtil', 'SysLoadFuncs' call SysLoadFuncs /* Put another shredder on the desktop */ call SysIni "USER","PM_Worksplace:InstallObject",":WPShredder:Ollie's"," " /* Create a folder on the desktop */ call SysIni "USER","PM_Workplace:InstallFolder","\MYFOLDER:My Folder"," " /\/\/\/\/\/\/\/\/\/\/\/\ Cut Here /\/\/\/\/\/\/\/\/\/\/\/\/\/\ Hope this comes in handy for you... --- * Origin: OS/2?? is that like a PS/2? (1:382/20) ------------------------------------------------------------------------------