@ECHO OFF
cd %~dp0

..\devcon\i386\devcon.exe remove "PCI\VEN_0003&DEV_0002&SUBSYS_00080009&REV_04"
..\devcon\i386\devcon.exe remove "windrvr1230"
del /f /s /q %systemroot%\System32\drivers\windrvr1230.sys

wdreg -inf windrvr1230_driver.inf install
..\devcon\i386\devcon.exe -r rescan ENC7480.inf "PCI\VEN_0003&DEV_0002&SUBSYS_00080009&REV_04"
..\devcon\i386\devcon.exe -r update ENC7480.inf "PCI\VEN_0003&DEV_0002&SUBSYS_00080009&REV_04"



