home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1999 July
/
VPR9907B.BIN
/
DRIVER
/
IBM
/
IER108WJ
/
ier1081.exe
/
MAKEW98.BAT
< prev
next >
Wrap
DOS Batch File
|
1998-12-16
|
2KB
|
79 lines
@echo off
cls
rem Batch file to create Windows 98 signed driver install disk
rem Created 12/11/98
rem Last modified 12/16/98
rem Minimum requirements DOS 6.22 or NT 3.51 or Window 95 or newer
rem Check that proper source (%1) and destination (%2) are supplied
if "%1" == "" goto USAGE
if "%2" == "" goto USAGE
if not exist %1\ms_sign\ms_sign.exe goto NOSOURCE
rem Echo what we are about to do
echo This batch file will copy the digitally-signed Windows 98 driver
echo and its support files from %1 to %2.
echo.
echo Press CTRL-C and answer Y if this is NOT correct; otherwise,
pause
cls
echo.
echo Copying Windows 98 files from %1 to %2
echo.
:testcopy
%1\ms_sign\ms_sign.exe %2\
if errorlevel 1 goto NOCOPY
:copyfile
md %2\nt
md %2\win95
copy %1\ms_sign\ms_sign.tx? %2\ /V
copy %1\proset.in? %2\ /V
copy %1\info\ms\mswin98.tx? %2\ /V
copy %1\nt\pro*.* %2\nt /V
copy %1\nt\*.dl? %2\nt /V
copy %1\nt\*.hl? %2\nt /V
copy %1\nt\spd*.sy? %2\nt /V
copy %1\win95\*.* %2\win95 /V
cls
echo.
echo PLEASE LABEL YOUR DISKETTE:
echo.
echo Intel(R) PRO/100+ LAN Adapter Configuration
echo and Windows 98 Driver Diskette Release (release # from your CD label)
goto END
:NOSOURCE
echo.
echo Can not find the files at the source (%1) you specified.
echo Please correct and try again.
goto usage
:NOCOPY
echo.
echo Can not copy from %1 to %2.
echo Please check your syntax and try again.
goto usage
:usage
echo.
echo usage rules;
echo %0 [source] [destination]
echo.
echo where [source] is the drive letter with the colon and path of the
echo source files (such as D:) and where [destination] is the drive
echo letter with the colon (such as A:).
echo.
echo Do not add a trailing backslash (\) to the source or destination path.
echo [destination] is also expected to be formatted media.
echo.
echo For example:
echo %0 D: A:
echo.
pause
goto END
:END