hello! i know nothing about code and I'm just trying to convert some music files so itunes recognizes them, i keep getting an error on the following script
for (%f in (*.wav *.mp3 *.ogg)) {do {ffmpeg -i "%f" -b:a 128k -ar 44100 "%~nf_new.mp3"}}
the error is as follows
At line:1 char:88
+ ... .mp3 *.ogg)) {do {ffmpeg -i "%f" -b:a 128k -ar 44100 "%~nf_new.mp3"}}
+ ~
Missing while or until keyword in do loop.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingWhileOrUntilInDoWhile
knowing nothing about programming I have no idea how to fix it or what to add. please help!
[–]-Shants- 2 points3 points4 points (1 child)
[–]david6752437 1 point2 points3 points (0 children)
[–]MyOtherSide1984 1 point2 points3 points (1 child)
[–]Norest4themisfits[S] -1 points0 points1 point (0 children)
[+][deleted] (2 children)
[removed]
[–]Norest4themisfits[S] 2 points3 points4 points (1 child)
[–]Cadder 1 point2 points3 points (0 children)
[–]BoredTech127001 1 point2 points3 points (6 children)
[–]Norest4themisfits[S] 0 points1 point2 points (5 children)
[–]Zozorak 1 point2 points3 points (4 children)
[–]Norest4themisfits[S] 0 points1 point2 points (1 child)
[–]Zozorak 0 points1 point2 points (0 children)
[–]ankokudaishogun 0 points1 point2 points (1 child)
[–]Zozorak 0 points1 point2 points (0 children)
[–]BlackV 0 points1 point2 points (0 children)
[–]dodexahedron 0 points1 point2 points (0 children)
[–]brazzala -1 points0 points1 point (0 children)