I am wanting to execute a CLI command to convert all FLAC files to MP3, after looking on google and the usual places I have come up with
procedure TForm1.act_MUSIC_CONVERSION_FLACStoMP3Execute(Sender: TObject);
begin
ShellExecute(0, nil, 'cmd.exe',PWideCHar( 'find '+PwideChar(form1.FileListBox1.Directory)+'. -name "*.flac" -exec ffmpeg -i {} -ab 320k -map_metadata 0 -id3v2_version 3 {}.mp3 \;'), nil, SW_HIDE);
end;
however the command window opens but nothing is executed :(