If the above scenario (or file) doesn't work, I found the following in my CompInfo directory. I copied and pasted it into a text file many moons ago, and neglected to save the source for crediting the info. Apologies to whoever was the source;To restore win.com, extract (see below) the win.cnf file to C:\WINDOWS from the original floppy or cd used to set up windows.
NOTE: The Win.cnf file is in the following locations:
Disk 3 of the original Windows 95 disks
Win95_03.cab of the original Windows 95 CD-ROM
Win98_28.cab of the original Windows 98 CD-ROM
Win98_25.cab of the original Windows 98 Second Edition CD-ROM
Rename the Win.cnf file in the Windows folder to Win.com. To do so, type the following line, and then press ENTER:
ren c:\windows\win.cnf c:\windows\win.com
Restart your computer.
EXTRACT Syntax:
--
Microsoft (R) Cabinet Extraction Tool - Version (16) 1.00.603.0 (08/14/97)
Copyright (c) Microsoft Corp 1994-1997. All rights reserved.
EXTRACT [/Y] [/A] [/D | /E] [/L dir] cabinet [filename ...]
EXTRACT [/Y] source [newname]
EXTRACT [/Y] /C source destination
cabinet - Cabinet file (contains two or more files).
filename - Name of the file to extract from the cabinet.
Wild cards and multiple filenames (separated by
blanks) may be used.
source - Compressed file (a cabinet with only one file).
newname - New filename to give the extracted file.
If not supplied, the original name is used.
/A Process ALL cabinets. Follows cabinet chain
starting in first cabinet mentioned.
/C Copy source file to destination (to copy from DMF disks).
/D Display cabinet directory (use with filename to avoid extract).
/E Extract (use instead of *.* to extract all files).
/L dir Location to place extracted files (default is current directory).
/Y Do not prompt before overwriting an existing file.
So,
extract/y Win98_25.cab win.cnf /L c:\windows win.com
It's a good day when you learn something