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

  1. @echo off
  2. cls
  3. rem Batch file to create Windows 98 signed driver install disk
  4. rem Created 12/11/98
  5. rem Last modified 12/16/98
  6. rem Minimum requirements DOS 6.22 or NT 3.51 or Window 95 or newer
  7.  
  8. rem Check that proper source (%1) and destination (%2) are supplied
  9. if "%1" == "" goto USAGE
  10. if "%2" == "" goto USAGE
  11. if not exist %1\ms_sign\ms_sign.exe goto NOSOURCE
  12.  
  13. rem Echo what we are about to do
  14. echo This batch file will copy the digitally-signed Windows 98 driver
  15. echo and its support files from %1 to %2.
  16. echo.
  17. echo Press CTRL-C and answer Y if this is NOT correct; otherwise,
  18. pause
  19.  
  20. cls
  21. echo.
  22. echo Copying Windows 98 files from %1 to %2
  23. echo.
  24.  
  25. :testcopy
  26. %1\ms_sign\ms_sign.exe %2\
  27. if errorlevel 1 goto NOCOPY
  28.  
  29. :copyfile
  30. md %2\nt
  31. md %2\win95
  32. copy %1\ms_sign\ms_sign.tx? %2\      /V
  33. copy %1\proset.in?          %2\      /V
  34. copy %1\info\ms\mswin98.tx? %2\      /V
  35. copy %1\nt\pro*.*           %2\nt    /V
  36. copy %1\nt\*.dl?            %2\nt    /V
  37. copy %1\nt\*.hl?            %2\nt    /V
  38. copy %1\nt\spd*.sy?         %2\nt    /V
  39. copy %1\win95\*.*           %2\win95 /V
  40. cls
  41. echo.
  42. echo PLEASE LABEL YOUR DISKETTE:
  43. echo.
  44. echo Intel(R) PRO/100+ LAN Adapter Configuration
  45. echo and Windows 98 Driver Diskette Release (release # from your CD label)
  46. goto END
  47.  
  48. :NOSOURCE
  49. echo.
  50. echo Can not find the files at the source (%1) you specified.
  51. echo Please correct and try again.
  52. goto usage
  53.  
  54. :NOCOPY
  55. echo.
  56. echo Can not copy from %1 to %2.
  57. echo Please check your syntax and try again.
  58. goto usage
  59.  
  60. :usage
  61. echo.
  62. echo usage rules;
  63. echo %0 [source] [destination]
  64. echo.
  65. echo where [source] is the drive letter with the colon and path of the
  66. echo source files (such as D:) and where [destination] is the drive
  67. echo letter with the colon (such as A:).
  68. echo.
  69. echo Do not add a trailing backslash (\) to the source or destination path.
  70. echo [destination] is also expected to be formatted media.
  71. echo. 
  72. echo For example:
  73. echo        %0 D: A:
  74. echo.
  75. pause
  76. goto END
  77.  
  78. :END
  79.