home *** CD-ROM | disk | FTP | other *** search
- @ECHO REMOVING NETQUESTION, PLEASE WAIT....
- @ECHO OFF
- if exist %IMNINSTSRV%\NETQ.EXE %IMNINSTSRV%\NETQ STOP SERVER >> NUL
- if exist %IMNINSTSRV%\NQMAP.EXE %IMNINSTSRV%\NQMAP %IMNINSTSRV% -d IVJINDEX >> NUL
- if exist %IMNINSTSRV%\NETQ.EXE %IMNINSTSRV%\NETQ START SERVER >> NUL
- if exist %IMNINSTSRV%\NQDELET.EXE %IMNINSTSRV%\NQDELET IVJINDEX >> NUL
- if exist %IMNINSTSRV%\NETQ.EXE %IMNINSTSRV%\NETQ STOP SERVER >> NUL
-
- REM erase Java's search CGI from NetQ
- if exist %IMNINSTSRV%\IVJSRCH.EXE ERASE %IMNINSTSRV%\IVJSRCH.EXE >> NUL
- if exist %IMNINSTSRV%\RSLTHEAD.HTM ERASE %IMNINSTSRV%\RSLTHEAD.HTM >> NUL
- if exist %IMNINSTSRV%\RSLTFOOT.HTM ERASE %IMNINSTSRV%\RSLTFOOT.HTM >> NUL
-
- REM get rid of log files from NetQ install directory
- if exist %1\eab\ntq\install\NETQ.LOG ERASE %1\eab\ntq\install\NETQ.LOG >> NUL
- if exist %1\eab\ntq\install\CONFNETQ.LOG ERASE %1\eab\ntq\install\CONFNETQ.LOG >>NUL
- if exist %1\eab\ntq\install\NETQ.FIN ERASE %1\eab\ntq\install\NETQ.FIN >> NUL
- if exist %1\eab\ntq\install\NETQ.ERR ERASE %1\eab\ntq\install\NETQ.ERR >> NUL
-
- :DELNETQ
- REM call NetQ uninstall program
- %IMNINSTSRV%\uninstnq.exe >> NUL
-
- :DELWORK
- REM erase index work directory
- if "%OS%" == "Windows_NT" GOTO OS_WINNT
-
- :OS_WIN95
- DELTREE /Y %1\eab\ntq\work >> NUL
- GOTO TERMEXIT
-
- :OS_WINNT
- RMDIR /S /Q %1\eab\ntq\work >> NUL
-
- :TERMEXIT
- EXIT