I used to be able play wav files with Winbatch, but now I get a nice silence and a returned code indicating success.
I'm seeking to play .wav file
Here's the code:
fn = "C:\Users\Administrator\Downloads\t_Power Habits\Track-Your-Progress.wav"
rc = PlayWaveform(fn, 0)
Message("PlayWaveForm return code",rc)
I can play the file manually with VLC.
Too many missing details to offer any advice but I can say that the function works on my workstation running Windows 10.
According to MSFT, "The specified sound must fit in available physical memory and be playable by an installed waveform-audio device driver. " Other than that there are no known issues.