I have a zip file, with lots of directories and files. Somewhere are .vox
files.
I have script in PowerShell that unzips and finds all .vox
files.
Than I have command line program sox
, which can convert vox file to mp3. But it works only in cmd.
sox -t raw -r 8000 -e a-law inputfile outputfile
Is possible run this command under PS with inputfile
and outputfile
variables, so I can use sox with a lot of vox files? Maybe foreach
?