Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just moved from xp-32bit to W7 64bit and re-installed sox which I use to resample and create spectrogams. The batch-file

cd %~dp0

mkdir converted

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

mkdir converted

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?

share|improve this question

You must log in to answer this question.

Browse other questions tagged .