home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / Setup / MSDEx86.exe / sql70rem.bat < prev   
Encoding:
DOS Batch File  |  1998-11-23  |  489 b   |  19 lines

  1. @echo off
  2. rem     Performs Unattended UnInstall operation
  3. rem
  4. rem     command line argument specifying the short filename of the sql install path
  5. rem     is required, e.g., c:\mssql7
  6. rem     
  7. rem
  8. rem
  9. SET SQLPath=%1
  10. if '%SQLPath%' == '' goto pathnotok
  11. if exist %SQLPath%\uninst.isu goto pathok
  12. :pathnotok
  13. echo "Usage: sql70rem.bat <sql install path>"
  14. goto endit
  15. :pathok
  16. @echo on
  17. start /wait isuninst.exe -a -y -m -f%SQLPath%\uninst.isu -C%SQLPath%\sqlsun.dll
  18. @echo off
  19. :endit