Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

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.
0
glewis
Asked:
glewis
  • 2
1 Solution
 
bbaoIT 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.

0
 
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:

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

Thanks.
0
 
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. :))
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now