home *** CD-ROM | disk | FTP | other *** search
- Echo Off
-
- REM This is the NewsBank Activation Batch File for NBSEARCH v2.21.
- REM Do NOT under any circumstance MOVE or MODIFY this file without
- REM first consulting NewsBank Customer Service. This file is modified
- REM by the "Disc Setup" part of the software.
- REM
- REM The batch file NBS.BAT is the file that users should use to start this
- REM software. NBS.BAT can be moved to the root, a directory in the path,
- REM or any other place which is convenient.
-
- if "%1" == "" goto Logo
- if "%1" == "-NoLogo" goto Soft
- REM if no arguments, then go directly into the software
-
- if not "%1" == "3" goto NotThree
- del actbat.bat >NUL
- copy nbsnew.bat actbat.bat >NUL
- if "%2" == "-NoLogo" actbat.bat 4 -NoLogo
- actbat.bat 4
- :NotThree
-
- if not "%1" == "4" goto NotFour
- del nbsnew.bat >NUL
- goto Soft
- :NotFour
-
- goto Logo
-
- :MakeNewBat
- if "%1" == "-NoLogo" nbsnew.bat 3 -NoLogo
- if "%2" == "-NoLogo" nbsnew.bat 3 -NoLogo
- nbsnew.bat 3
-
- :Logo
- if "%1" == "-NoLogo" goto NoLogo
- if "%2" == "-NoLogo" goto NoLogo
- call displogo
- :NoLogo
-
- :Soft
- nbsearch
-
- :StartExtern
- :EndExtern
-
- if errorlevel 100 goto MakeNewBat
- REM if 100, then there is a new actbat.bat (called nbsnew.bat)
-
- if errorlevel 50 goto Soft
- REM if 50, then we have just returned from executing a pre/post node
-
- if errorlevel 2 goto Exit
- REM if 2, then the user wants to quit
-
- goto Logo
- REM else loop around to the logos
-
- :Exit
- cls