Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
587 B

  1. @echo off
  2. set server=indiadev
  3. set temp=%systemroot%\system32\wbem
  4. rem rd /s /q %temp%\eelviewer
  5. set dest=%systemroot%\system32\wbem\EElView
  6. set src=%cd%
  7. if NOT ERRORLEVEL == 0 goto err
  8. regsvr32 /u /s %dest%\eelview.dll
  9. regsvr32 /u /s %dest%\kalpaxml.dll
  10. for %%i in ( %dest% %dest%\css %dest%\images %dest%\help) do attrib -r %%i\*
  11. if NOT ERRORLEVEL == 0 goto err
  12. del /f /q %dest%\*.*
  13. del /f /q %dest%\css\*.*
  14. del /f /q %dest%\images\*.*
  15. cd /D %temp%
  16. rmdir /s /q eelview
  17. goto end
  18. :err
  19. @echo on
  20. echo "Encountered error in the operation. Please delete the files manually"
  21. :end
  22. rem pause