rem extrduns.bat.txt is a text copy of an example batch file (remarks=rem), which was used for the extraction of multiple files from multiple CABS. The batch processing relies on facilities available in the MS !Plus version of the MS "extract.exe" file version cited below (and later?): rem extract.exe command syntax as described by the extract.exe command: rem Microsoft (R) Cabinet Extraction Tool - Version (16) 1.00.603.0 (08/14/97) rem Copyright (c) Microsoft Corp 1994-1997. All rights reserved. rem JP - The version of the extraction tool used by this batch file is renamed to Extractp.exe rem EXTRACT [/Y] [/A] [/D | /E] [/L dir] cabinet [filename ...] rem EXTRACT [/Y] source [newname] rem EXTRACT [/Y] /C source destination rem cabinet - Cabinet file (contains two or more files). rem filename - *Name of the file to extract from the cabinet. rem *Wild cards and multiple filenames (separated by blanks) may be used. rem source - Compressed file (a cabinet with only one file). rem newname - New filename to give the extracted file. If not supplied, the original name is used. rem /A *Process ALL cabinets. Follows cabinet chain starting in first cabinet (of a series) mentioned. rem /C Copy source file to destination (to copy from DMF disks). rem /D Display cabinet directory (use with filename to avoid extract). rem /E Extract (use instead of *.* to extract all files). rem /L dir *Location to place extracted files (default is current directory). For safety, I extracted to a holding location, not the final destination folder. rem /Y Do not prompt before overwriting an existing file. rem rem MS Windows Support article provided the following list of files to be extracted to restore DUNS rem Restart your computer to a command prompt, and then extract the files in the following table from your original Windows disks or CD-ROM to the following folders. (But I ran from Start>Run>extrduns, since the old files were renamed by procedures in MS Knowledge Base article 181599 and they were not in use by Windows.) rem Rasapi32.dll Windows\System rem Wsock32.dll Windows\System rem Rnasetup.dll Windows\System rem Netcli.inf Windows\Inf rem Netservr.inf Windows\Inf rem Net.inf Windows\Inf rem Nettrans.inf Windows\Inf rem Netppp.inf Windows\Inf rem Rna.inf Windows\Inf rem Winsock.dll Windows rem Extract commands for these files from unknown locations within three series of cab files, and being extracted to three distinct destination folders, equal nine extract commands. Pause commands provide for review of the action of each. EXTRACTP /A /L C:\windows\options\duns\System C:\Windows\Options\Cabs\Win95_02.cab Rasapi32.dll Wsock32.dll Rnasetup.dll pause EXTRACTP /A /L C:\windows\options\duns\Inf C:\Windows\Options\Cabs\Win95_02.cab Netcli.inf Netservr.inf Net.inf Nettrans.inf Netppp.inf Rna.inf pause EXTRACTP /A /L C:\windows\options\duns\Windows C:\Windows\Options\Cabs\Win95_02.cab Winsock.dll pause EXTRACTP /A /L C:\windows\options\duns\System C:\Windows\Options\Cabs\Precopy1.cab Rasapi32.dll Wsock32.dll Rnasetup.dll pause EXTRACTP /A /L C:\windows\options\duns\Inf C:\Windows\Options\Cabs\Precopy1.cab Netcli.inf Netservr.inf Net.inf Nettrans.inf Netppp.inf Rna.inf pause EXTRACTP /A /L C:\windows\options\duns\Windows C:\Windows\Options\Cabs\Precopy1.cab Winsock.dll pause EXTRACTP /A /L C:\windows\options\duns\System C:\Windows\Options\Cabs\Mini.cab Rasapi32.dll Wsock32.dll Rnasetup.dll pause EXTRACTP /A /L C:\windows\options\duns\Inf C:\Windows\Options\Cabs\Mini.cab Netcli.inf Netservr.inf Net.inf Nettrans.inf Netppp.inf Rna.inf pause EXTRACTP /A /L C:\windows\options\duns\Windows C:\Windows\Options\Cabs\Mini.cab Winsock.dll pause