home *** CD-ROM | disk | FTP | other *** search
/ Index to United Nations …Publications 1990 to 1996 / 200558.iso / nbsoft.exe / ACTBAT.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-01-13  |  1.4 KB  |  61 lines

  1. Echo Off
  2.  
  3. REM  This is the NewsBank Activation Batch File for NBSEARCH v2.21.
  4. REM  Do NOT under any circumstance MOVE or MODIFY this file without 
  5. REM  first consulting NewsBank Customer Service.  This file is modified
  6. REM  by the "Disc Setup" part of the software.  
  7. REM
  8. REM  The batch file NBS.BAT is the file that users should use to start this
  9. REM  software.  NBS.BAT can be moved to the root, a directory in the path,
  10. REM  or any other place which is convenient.
  11.  
  12. if "%1" == "" goto Logo
  13. if "%1" == "-NoLogo" goto Soft
  14. REM     if no arguments, then go directly into the software
  15.  
  16. if not "%1" == "3" goto NotThree
  17. del actbat.bat >NUL
  18. copy nbsnew.bat actbat.bat >NUL
  19. if "%2" == "-NoLogo" actbat.bat 4 -NoLogo
  20. actbat.bat 4
  21. :NotThree
  22.  
  23. if not "%1" == "4" goto NotFour
  24. del nbsnew.bat >NUL
  25. goto Soft
  26. :NotFour
  27.  
  28. goto Logo
  29.  
  30. :MakeNewBat
  31. if "%1" == "-NoLogo" nbsnew.bat 3 -NoLogo
  32. if "%2" == "-NoLogo" nbsnew.bat 3 -NoLogo
  33. nbsnew.bat 3
  34.  
  35. :Logo
  36. if "%1" == "-NoLogo" goto NoLogo
  37. if "%2" == "-NoLogo" goto NoLogo
  38. call displogo
  39. :NoLogo
  40.  
  41. :Soft
  42. nbsearch
  43.  
  44. :StartExtern
  45. :EndExtern
  46.  
  47. if errorlevel 100 goto MakeNewBat
  48. REM     if 100, then there is a new actbat.bat (called nbsnew.bat)
  49.  
  50. if errorlevel 50 goto Soft
  51. REM     if 50, then we have just returned from executing a pre/post node
  52.  
  53. if errorlevel 2 goto Exit
  54. REM     if 2, then the user wants to quit
  55.  
  56. goto Logo
  57. REM     else loop around to the logos
  58.  
  59. :Exit
  60. cls
  61.