home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / 01_03.iso / drivers / pack1 / files / 4114_enu_w2k_xp.exe / ccc / hppatch.exe / run.bat < prev   
Encoding:
DOS Batch File  |  2001-11-28  |  416 b   |  24 lines

  1. @Echo OFF
  2. Echo.
  3.  
  4. :Check
  5. REM finding out the OS running in the host
  6. If /i %OS% == Windows_NT GOTO :W2K
  7.  
  8. :9X
  9. Cd "%windir%\system"
  10. Del hpzeng04.exe
  11. Cd C:\temp
  12. Copy /b /y hpzeng04.exe "%windir%\system"
  13. GOTO :EOF
  14.  
  15. :W2K
  16. Cd "%SYSTEMROOT%\system32\spool\drivers\w32x86\3"
  17. Del hpzeng04.exe
  18. Cd C:\temp
  19. Copy /b /y hpzeng04.exe "%SYSTEMROOT%\system32\spool\drivers\w32x86\3"
  20. GOTO :EOF
  21.  
  22. :EOF
  23. Echo Done !!!
  24.