I just moved from xp-32bit to W7 64bit and re-installed sox which I use to resample and create spectrogams. The batch-file
FOR %%A IN (%*) DO sox %%A -n spectrogram -o "converted/spectro/%%~nxA.png"
which worked fine with XP produce now an error saying that "sox" is not a valid command. The line
works fine and the folder is created but "sox" gives an error. Actually with XP the folder was created in the sox folder and now it is created in the same folder as the data to be modified. I browsed this site and found something (I can't seem to find the precise post again) about adding a line under environmental variables, which I did. I added
sox C:\Program Files (x86)\sox-14-4-1\
in the system and user variables, with no success.
My user on the computer is listed as administrator Does anyone have a suggestion about modifying the batch files or configuring my system to get sox working?