Use extract.exe to restore a system file

10 January 2003 by Snakefoot | Comment » | Trackback Off
Example to restore kernel32.dll to C:\Windows\System from the cabs files in D:\Install

extract D:\Install\Win95_18.cab kernetl32.dll /L C:\Windows\System

Instead of "guessing" which cab-file contains the file one can use a for loop :

for %x in (D:\Install\*.cab) do extract %x kernel32.dll /L C:\Windows\System

Note instead of the for loop one can also try to use the extract /a switch and use the first cab-file in the series, though it will only work on cab-files which are chained together. To see all command line switches execute extract with no parameters.

Note one can also use extract.exe to restore from cab files for Internet Explorer.

Related Win98: Use SFC.EXE to restore a system file
Related WinMe: Use Msconfig.exe to restore a system file

More Info MS KB Q129605

Updated: 24 September 2007

Leave a comment


You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>