home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / tmtrk112.zip / uninst.cmd < prev   
OS/2 REXX Batch file  |  1998-04-25  |  565b  |  25 lines

  1. /* Install.CMD for Time Tracker */
  2. /* Author Trevor Hemsley */
  3.  
  4. Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  5. Call SysLoadFuncs
  6.  
  7. say "This will uninstall Time Tracker."
  8.  
  9. drive_path = "N"
  10. do while drive_path = "N"
  11.   say "Are you sure?"
  12.   pull answer .
  13.   if answer = "" then drive_path="N"
  14.   else
  15.      do
  16.      if answer ¬= "Y" then exit
  17.        else 
  18.        do
  19.        rrc = SysDestroyObject("<TIMETRACKER>")  
  20.        drive_path = "Y" 
  21.        end
  22.      end
  23. end
  24.  
  25. say "You may now delete the directory where Time Tracker is installed."