home *** CD-ROM | disk | FTP | other *** search
/ Chronicle of the 20th Century / DKMMCENT.ISO / support / msacm / files / msacm.bat next >
DOS Batch File  |  1996-08-27  |  751b  |  25 lines

  1. @echo off
  2. if not exist c:\~msacm.tmp\msacm.bat goto BadDir
  3. if "%winbootdir%"=="" goto NoWinDir
  4. attrib %winbootdir%\system\msacm.* -r -h -s
  5. del %winbootdir%\system\msacm.*
  6. attrib %winbootdir%\sysbckup\msacm.* -r -h -s
  7. del %winbootdir%\sysbckup\msacm.*
  8. copy c:\~msacm.tmp\msacm.dll %winbootdir%\system\msacm.dll
  9. copy c:\~msacm.tmp\msacm.drv %winbootdir%\system\msacm.drv
  10. copy c:\~msacm.tmp\msacm.dll %winbootdir%\sysbckup\msacm.dll
  11. copy c:\~msacm.tmp\msacm.drv %winbootdir%\sysbckup\msacm.drv
  12. goto End
  13.  
  14. :BadDir
  15. echo This program should only be run indirectly from fixmsacm.bat
  16. echo.
  17. goto End
  18.  
  19. :NoWinDir
  20. echo The WinBootDir environment variable was not set!
  21. echo.
  22. goto End
  23.  
  24. :End
  25. if exist c:\~msacm.tmp\*.* deltree /y c:\~msacm.tmp