home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM GWUNINST.BAT - Uninstalls the PC-Duo Gateway32 Service
- REM D.B. 06-Jan-03
-
- ECHO Stopping the Gateway32 Service
- REM Exit status from NET commands is not reliable.
- REM It will be >0 if the service was not running.
- NET STOP GATEWAY32
- REM IF ERRORLEVEL 1 GOTO ERROR
-
- ECHO Deleting the Gateway32 Service
- REM Exit status from SC commands is not reliable.
- REM It always seems to return 1.
- SC DELETE GATEWAY32
- REM IF ERRORLEVEL 1 GOTO ERROR
- GOTO END
-
- :ERROR
-
- :END
- ECHO GWUNINST.BAT finished.
-
-