home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 October / ENTER10_2.bin / prog_7 / mim / install.dir / mimo324 / av / F-Prot / NETDISK.BAT < prev    next >
Encoding:
DOS Batch File  |  1998-08-20  |  1.4 KB  |  61 lines

  1. @ECHO OFF
  2. REM This batch file copies the files from a two disk set to the
  3. REM Network directory.
  4. CLS
  5. ECHO This batch file performs the appropriate steps necessary to
  6. ECHO place the Command AntVirus files on one disk usually the network.
  7. ECHO.
  8. ECHO Please execute this file from the directory and drive where you want
  9. ECHO the Command AntiVirus files to be. If you want the CSAV files in F:\F-PROT
  10. ECHO type: COPY %0.BAT F:\F-PROT. Then goto that directory and type:
  11. ECHO.
  12. ECHO    %0 [Drive and directory where Command AntVirus files are located]
  13. ECHO    Example: %0 A:
  14. ECHO             %0 A:\F-PROT
  15. ECHO.
  16. ECHO Note:Please end the subdirectory without the backslash; it is added in
  17. ECHO      the batch file.
  18. ECHO.
  19. ECHO Press CTRL-C to end or
  20. PAUSE
  21. IF '%1'=='' GOTO SYNTAX
  22.  
  23. :1DISK
  24. CLS
  25. IF EXIST %1\INSTALL.EXE GOTO 1DISKCOPY
  26. ECHO Please place disk#1 in the drive then
  27. PAUSE
  28. GOTO 1DISK
  29.  
  30. :1DISKCOPY
  31. COPY %1\*.*
  32.  
  33. :2DISK
  34. IF EXIST %1\F-PROT.EXE GOTO 2DISKCOPY
  35. ECHO Please place disk#2 in the drive then
  36. PAUSE
  37. GOTO 2DISK
  38.  
  39. :2DISKCOPY
  40. COPY %1\*.*
  41. IF NOT EXIST %1\NETWORK\NUL GOTO ERROR
  42. COPY %1\NETWORK\*.*
  43.  
  44. ECHO.
  45. ECHO Transfer Complete...
  46. ECHO.
  47. GOTO END
  48.  
  49. :SYNTAX
  50. ECHO SYNTAX ERROR:A source path is needed.
  51. ECHO e.g. %0 A:
  52. GOTO END
  53.  
  54. :ERROR
  55. ECHO The subdiretory NETWORK was not found...
  56. ECHO Please call Tech Support at 1-800-423-9147
  57. ECHO.
  58. ECHO.
  59.  
  60. :END
  61.