If you have a video file, and want to extract audio from it separately, i suggest this method:
You will need a VirtualDub (no installation required). After opening video file, go to File → Save WAV. That’s it, you have a .wav audio file extracted!
This method still doesn’t work with .wmv files though!