Skip to main content

Topic: FLAC button in Total Commander (Read 1632 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • hlloyge
  • [*][*][*][*][*]
FLAC button in Total Commander
Hello all.

If anyone could help me, that would be great, because I don't know what I am doing wrong.

I am trying to make FLAC button in Total Commander for converting selected wav files to FLACs. I've found an example for wavpack, and I started from that:

COMMAND "c:\Program Files (x86)\Encoders\wavpack.exe"
PARAMETERS -h -l  @%L
START PATH c:\Program Files (x86)\Encoders\

but when I exchange command to flac.exe (it's in the same folder) and remove in parameters everything left of @ and place just -6 for compression mode, nothing happens. I can, however, drag'n'drop single file to that button, and it will work, but I want to make a selection of few files and pressing button, to convert them into same folder.

Can anyone help?

  • deus-ex
  • [*][*][*][*]
FLAC button in Total Commander
Reply #1
Total Commander online help: Dialog box: Change Start Menu (TC main menu - Start - Change Start menu, press F1)

%S insert the names of all selected files into the command line. Names containing spaces will be surrounded by double quotes. Please note the maximum command line length of 32767 characters.
%S10 insert the names of the first 10 selected files (max.) into the command line. Allows to limit the number of file names passed to the program. You can use any other number.

FLAC does not support input lists defined via @listname. But it does accept multiple input files at once.

Code: [Select]
COMMAND "c:\Program Files (x86)\Encoders\flac.exe"
PARAMETERS -6 %S
START PATH (no entry required - leave blank)
Best regards
deus-ex (MODLAND co-admin: ftp://ftp.modland.com)

  • hlloyge
  • [*][*][*][*][*]
FLAC button in Total Commander
Reply #2
Thank you very much - I didn't realise it doesn't accept input files like wavpack does. Shame on me.
If added --delete-input-file in fornt of parameter, it does exactly what I want.
Thank you again, deus-ex.