home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1999 July / VPR9907B.BIN / DRIVER / IBM / IER108WJ / ier1081.exe / MAKENW.BAT < prev    next >
DOS Batch File  |  1998-12-16  |  1KB  |  59 lines

  1. echo off
  2. cls
  3. rem makedisk batch for NetWare files.
  4. rem created 5/6/98
  5. rem last modified 12/16/98
  6. rem minimum requirements MSDOS 6.22 or NT 3.51 or Window95 or newer
  7.  
  8. rem Check that source (%1) and destination (%2) are supplied
  9. if "%1" == "" goto USAGE
  10. if "%2" == "" goto USAGE
  11.  
  12. rem Echo what we are about to do
  13. echo This batch file will copy the NetWare files from %1 to %2
  14. echo press CTRL-C if this is NOT correct, otherwise,
  15. pause
  16.  
  17. cls
  18. echo.
  19. echo Copying NetWare files from %1 to %2
  20. echo.
  21.  
  22. :makedirs
  23. md %2\DOS
  24. md %2\NWSERVER
  25. md %2\INFO
  26.  
  27. :copyfile
  28. xcopy %1\D100DISK %2\
  29. xcopy %1\README.BAT %2\
  30. copy  %1\READMENW.LST %2\README.LST
  31. xcopy %1\MICROSFT.LST %2\
  32. xcopy %1\NOVELL.LST %2\
  33. xcopy %1\OTHER.LST %2\
  34. xcopy %1\SETUP.EXE %2\
  35. xcopy %1\FILES.TXT %2\
  36. xcopy %1\NWSERVER\*.* %2\NWSERVER /S /E /V
  37. xcopy %1\DOS\*.* %2\DOS /S /E /V
  38. xcopy %1\INFO\*.* %2\INFO /S /E /V
  39. cls
  40. echo.
  41. echo.
  42. echo PLEASE LABEL YOUR DISKETTE
  43. echo Intel(R) PRO/100+ LAN Adapter Configuration
  44. echo and NetWare Drivers Diskette Release (release # from your CD label)
  45. goto END
  46.  
  47. :usage
  48. echo %0 [source] [destination]
  49. echo
  50. echo   where [source] is the drive letter with the colon and path of the source files (such as D:)
  51. echo   and where [destination] is the drive letter with the colon (such as A:)
  52. echo   [destination] is also expected to be a formatted disk.
  53. echo 
  54. echo for example:
  55. echo        %0 D: A:
  56. goto END
  57.  
  58. :END
  59.