                     How To Delete An Old Desktop

1. Before you mess with something like this, you need to be sure you
have a Backup of your Desktop and know how to do a Restore in case of
problems. If you do not have a backup and know how to use it to restore
your desktop, please read DSKTOP.TXT for a discussion of this issue
before continuing.

2. BE SURE you know which of the Desktops is the current one, so that
you do not delete the active Desktop.

3. In theory, you can remove the old Desktop Directory structure while
PM and WPS are running. In practice, this can cause serious problems.
WPS was not written under the assumption that there would be more than
one Desktop and will sometimes come to the conclusion that things are
being removed from the Desktop when you delete the old Desktop
Directory structure. Sometimes, maybe most times, it will work.
However, if you have a problem you will probably be very sorry you
tried it and very happy you have a Backup. Unfortunately, it is
possible for the symptoms of a problem to not always show up
immediately, so it is not recommended you try it.

4. The first thing you need to do is get to an OS/2 Command Prompt
without PM and WPS running. Three options come to mind: 

  a.  Boot an OS/2 Maintnance Partition. b.  Boot from the floppies. c.
  Boot using Alt-F1.

5. Once at the OS/2 Command Prompt, you can now delete the unused
Desktop. Unfortunately, without PM running this can be a difficult
process, since you must start at the bottom of the Directory Tree and
work your way up. There is a program included in UniMaint that will
make this a very easy process, IniClean, which will delete an entire
Directory structure and all included files. You can run IniClean with
no parameters and it will tell you what it expects, but to delete the
DESKTOP Directory structure on Drive C:, you would code:

 IniClean -ic:\desktop

BE CAREFUL!!! A finger fault can and will delete the active Desktop
Directory structure, which is another reason why you MUST HAVE A
BACKUP.

6. You can now boot from the HD, if you used 4a or 4b above, or finish
the boot process if you used Alt-F1, and the old Desktop will be gone.

If you want to rename a Desktop, for example Desktop1 to Desktop, you
can do it by bringing up the Window List, LMB on the Desktop entry
while holding down the Alt Key, edit the name, and LMB anywhere in the
Window List Window. The HD will churn away for a while and then you
will be fine.

You should make a new backup of the Desktop immediately after you have
done the rename. In fact, it is recommended that you do a backup,and
then shutdown to make sure all of the EAs are up to date, then reboot
just to be sure it will work, and then make a final Backup of the newly
booted Desktop.

