Missing WAVe files & How to Install from CD-ROM?

Suddenly, my WinNT4.0 workstation is silent.
I start looking around, and find that the .WAV files that are usually in C:\WINNT\MEDIA are missing, all except for about 4.  For example, CHIMES.WAV is gone.  I look on my WinNT4.0 CD-ROM and see them all there as *.WA_ files.  In NT Explorer, it says that they are not compressed.  I copied them over to my C:\WINNT\MEDIA directory, bring up Control Panel/Sounds and try to play the "Asterisk" which is set to use chimes.wav.  It says that the file is corrupted.  I try using compact/u chimes.wa_ (after renaming it, of course) and it says it is not compressed.  I tried typing "chimes.wav" in an MS-DOS command line, and it says it can't find "mplay32.exe"!!!  So I tried re-installing *that* from the CD-ROM and that doesn't work either!!!
So how do I correctly get these files back on to my system so that they work?  The NT Help file said to use compact/u which was no good at all.  Thanks.
Who is Participating?
bbaoConnect With a Mentor IT ConsultantCommented:
Please change your current directory to the Media directory and execute the following:

for %a in (d:\i386\*.wa_) expand -r %a

Where d: is your CD-ROM drive and make sure your NT CD-ROM is in the drive.

This makes all the wav files copy to your NT directory, if you want to copy one of them, just do like this:

expand abcd.wa_ abcd.wav

Type expand /? for more info.

glewisAuthor Commented:
After messing with it for a while (first putting in "do", then trying to cd first to the CD-ROM, then specifying the source and destination), I finally got it to work using:

cd \i386
expand -r *.wa_ c:\winnt\media

bbaoIT ConsultantCommented:
Oh, your are right, the syntax is not correct. It should be:

for %a in (*.wa_) do expand -r %a

Sorry for confusion. :))
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.