win-pvdrivers

view target/install.bat @ 194:d767540b82c0

fixed a typo in install.bat
author James Harper <james.harper@bendigoit.com.au>
date Fri Feb 22 14:56:36 2008 +1100 (2008-02-22)
parents 8c87bd40fe36
children da58a35a8a31
line source
1 @ECHO OFF
3 ver | find "Version 5.2." > nul
4 if %ERRORLEVEL% == 0 goto ver_2003
6 ver | find "Version 5.1." > nul
7 if %ERRORLEVEL% == 0 goto ver_xp
9 echo No automatic install available or machine not supported.
10 goto exit
12 :ver_2003
13 echo Windows 2003 Detected... Installing...
14 shutdownmon -i
15 cd winnet
16 dpinst.exe /LM
17 echo Done
18 goto exit
20 :ver_xp
21 echo Windows XP Detected... Installing...
22 shutdownmon -i
23 cd winxp
24 dpinst.exe /LM
25 echo Done
26 goto exit
28 pause
29 :exit