I heard that it only works if the directory the program is in has no spaces in it. So if it is a folder called "program files", then there is a space in the directory to it. The root directory has no spaces, so it works.
Just make sure the wav file and the program start out in the same directory too.