home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / limewire.zip / Uninstall.bat < prev    next >
DOS Batch File  |  2002-01-16  |  1KB  |  46 lines

  1. @echo off
  2. TITLE Uninstall Clean LimeWire
  3. echo.
  4. echo Welcome to the uninstall program for Clean LimeWire.
  5. echo.
  6. echo Please make sure that LimeWire is not running before continuing.
  7. echo.
  8. echo After uninstallation, please delete your Clean LimeWire desktop icon.
  9. echo.
  10. echo.
  11. echo.
  12. if not exist RunLime.jar goto norunlime
  13. goto cont
  14. :norunlime
  15. echo                              ERROR!!!
  16. echo.
  17. echo You are not running this uninstaller from your Clean LimeWire 
  18. echo installation directory.  Please try running this program again from 
  19. echo your Clean LimeWire installation directory.  The program will now exit.
  20. pause >nul
  21. cls
  22. exit
  23. :cont
  24. echo Are you sure you want to uninstall LimeWire?
  25. echo.
  26. echo Close this window to cancel or press any key to continue.
  27. Pause >nul
  28. :: get directory
  29. @SET curd=
  30. @SET promp$=%prompt%
  31. @PROMPT SET cd$Q$P
  32. @CALL>%temp%.\setdir.bat
  33. @
  34. % do not delete this line %
  35. @ECHO off
  36. PROMPT %promp$%
  37. FOR %%c IN (CALL DEL) DO %%c %temp%.\setdir.bat
  38. set curdir=%cd%
  39. ::deletes desktop shortcut
  40. cd res
  41. envrep.exe dsc.dat dsce.bat >nul
  42. call dsce.bat
  43. ::copies and launches final execution
  44. copy /y res\fexec.ba_ ..\fexec.bat
  45. cd ..
  46. fexec.bat