Dndbbs Uninstal Utility; v1.3a PD 2021:

 Uninstal deletes a directory,  its subdirectories, and the subdirectory
 files.

 Also deletes DNDBBS from the path of the Autoexec.bat file,  and DNDBBS
 environment variables from Autoexec.bat file.

 Deletes DNDBBS temporary files from the default RAM drive.

 Usage:

   Uninstal [d:\path\] [/acdfpqrsxz]

 Where:

   [d:]\path\  is  the specified directory to delete. If d: drive is not
   specified  then the current drive is used.  If the  pathname does not
   contain a root path then the current path is prepended. The directory
   and all its subdirectories, and all their files are deleted. The path
   name  may include characters ? and *.  If the drive and pathname  are
   enclosed in quotes, then the directory to delete can contain imbedded
   spaces.  If the command line on  Uninstal  has no directory specified
   then  the  default environment variable is used.  If the  environment
   variable  is non-existent  then the current default where Uninstal is
   run from is used.
 
   /a  Ignores editing Autoexec.bat

   Does not edit Autoexec.bat.  Normally uninstal copies Autoexec.bat to
   a backup file,  then rewrites  Autoexec.bat without the default path,
   and removes the pathname environment variables.

   /c  Continuous Display

   Causes  Uninstal  to skip printing header, exit to dos,  and progress
   outputs.

   /d  Ignores deleting temporary files

   Does not remove temporary files from the Ram drive. Normally uninstal
   deletes any files of type Altwork?.dat, Messwrk?.dat and Tempwrk?.dat
   from the  Ram  drive.  If there is no Ram drive,  then uninstal  will
   remove these files from the default directory.

   /f:"<filename.ext>"

   Specifies file (in quotes) containing lines:

     Name of path to delete from PATH= in Autoexec.bat (form: C:\DNDBBS)
     First name of SET= to remove from Autoexec.bat (form: DNDxxxx)
     Second, or Blank
     Third, or Blank
     Fourth, or Blank
     Fifth, or Blank
     Drive letter of Temporary drive (form: C)
     First filename to delete (form: ALTWORK?.DAT)
     Second,or Blank
     Third, or Blank

   Reading the config file overrides all switches and filename settings.

   /p  bypass delete prompt

   Causes  Uninstal  to  delete subdirectories without  prompting first.
   Does  not bypass prompts for editing autoexec.bat, removing temporary
   files,  or  prompting for temporary drive letter.  Use in combination
   with /q and /r switches.

   /q  don't prompt to edit autoexec.bat

   Allows editing of Autoexec.bat file without prompting first.

   /r  don't prompt to delete temp files

   Allows deletion of temporary Ram drive files without prompting first.
   If the Ram drive is not specified then an error is displayed.

   /s:d  specify Ram drive letter

   Overrides Ram drive letter for temporary files. Also avoids Ram drive
   letter input prompt.
 
   /x  don't delete directory

   Bypasses deleting directory specification. This is useful for editing
   Autoexec.bat  and/or  deleting temp files  without  removing the path
   directory.

   /z  suppress error messages

   Doesn't display errors.

 Note:

   After  Uninstal  prompts for the  directory to delete,  a  prompt  is
   displayed for the autoexec.bat file,  then a  prompt is displayed for
   the temporary Ram drive letter, if /a and /d are not specified.

 Examples:

   Uninstal c:\games

     Deletes the \games directory and its contents.

   Uninstal d:\games /a/d

     Deletes  the  \games directory and its contents,  does not edit the
     Autoexec.bat file and does not delete temporary files.

 Note: Uninstal will display the directory to delete:

    Delete subdirectories in c:\games\(y/n)?

    The prompt area indicates 'y' for 'yes' to  delete the  subdirectory
    and  continue or 'n' for 'no' to ignore the subdirectory and skip to
    the next one.

 Note: If windows is running with some recycle bin 16 bit program backup
   delete utility, deleting the contents of some subdirectories may fail
   because Uninstal uses an fcb  filled with ?s to remove the directory.

 Note: Since the  command line pathname  on  uninstal can be  specified,
   then  uninstal can be used to delete  the  subdirectories of any path
   name.

 Note: The source to Uninstal could be  modified for custom Autoexec.bat
   editing, and custom temp file removal.  Then Uninstal can  remove any
   specified  directory and different settings in  Autoexec.bat and temp
   files.

-end-
