home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m051 / 10.img / UNINSTAL.BA_ / UNINSTAL.bin
Encoding:
Text File  |  1992-05-15  |  2.3 KB  |  95 lines

  1. @echo off
  2. echo.
  3. echo Uninstall CorelDRAW! files from Windows System dir
  4. echo --------------------------------------------------
  5. echo.
  6. if %1.==. goto HELP
  7. if not %3.==. goto HELP
  8. if %2. == ttf. goto DEL_TTF
  9. if %2. == type1. goto DEL_TYPE_1
  10. if %2. == dll. goto DEL_DLL
  11. if %2. == redist. goto DEL_REDIST
  12. if %2.==. goto DEL_DLL
  13. if %1. == ?. goto HELP
  14. if %1. == help. goto HELP
  15. goto HELP
  16.  
  17. :DEL_DLL
  18. echo Deleting all CorelDRAW! dlls from %1
  19. pause
  20. del %1\aavga.dll
  21. del %1\caaplay.dll
  22. del %1\cdret.dll
  23. del %1\cdrfont.dll
  24. del %1\cdrmem.dll
  25. del %1\cdrspl.dll
  26. del %1\cpalette.dll
  27. del %1\imageman.dll
  28. del %1\mos_lib.dll
  29. del %1\mosdde.dll
  30. del %1\pcx16.dll
  31. del %1\pntcaptr.dll
  32. del %1\pntdlg3d.dll
  33. del %1\pntmeman.dll
  34. del %1\shwbitmp.dll
  35. del %1\shwengli.dll
  36. del %1\shwolemn.dll
  37. del %1\shwslide.dll
  38. del %1\shwsortr.dll
  39. del %1\shwutils.dll
  40. if not %2.==. goto END
  41.  
  42. :DEL_TYPE_1
  43. echo Deleting ALL Adobe Type 1 font files from %1
  44. pause
  45. del %1\*.afm
  46. del %1\*.inf
  47. del %1\*.pfb
  48. if not %2.==. goto END
  49.  
  50. :DEL_TTF
  51. echo Deleting ALL True Type font files from %1
  52. pause
  53. del %1\*.fot
  54. del %1\*.ttf
  55. if not %2.==. goto END
  56.  
  57. :DEL_REDIST
  58. echo Deleting all Windows 3.1 redistributable files from %1
  59. pause
  60. del %1\commdlg.dll
  61. del %1\ddeml.dll
  62. del %1\olecli.dll
  63. del %1\olesvr.dll
  64. del %1\shell.dll
  65. del %1\toolhelp.dll
  66. del %1\ver.dll
  67. del %1\regload.exe
  68. del %1\winhelp.exe
  69. del %1\winhelp.hlp
  70. goto END
  71.  
  72. :HELP
  73. echo This batch file deletes all the files copied to your Windows system
  74. echo directory by the CorelDRAW! install program. The format for using it is:
  75. echo.
  76. echo   uninstall "winsysdir" [ "uninstall type" ]
  77. echo.
  78. echo where:
  79. echo   "winsysdir"      = Windows system directory
  80. echo   "uninstall type" = "dll", "redist", "type1", or "ttf".
  81. echo                      "dll"    -- delete CorelDRAW dlls
  82. echo                      "redist" -- delete Windows 3.1 redistributable
  83. echo                                  dlls and winhelp
  84. echo                      "type1" -- delete ALL Adobe Type 1 fonts
  85. echo                      "ttf" -- delete ALL True Type fonts
  86. echo                      nothing  -- "dll", "redist", "type 1" and "ttf"
  87. echo.
  88. echo example:
  89. echo   uninstall c:\win31\system dll -- delete CorelDRAW dlls
  90. echo   uninstall c:\windows\system   -- delete dlls, redists, type 1's and true types
  91. echo.
  92. goto END
  93.  
  94. :END
  95.