Page 1 of 1

Configurable Command Option in Lists

Posted: 2008-12-27, 15:17 UTC
by andres992
I was trying to add a toolbar button for AVG command line virus scanner and discovered that the scanner accepts multiple files only in the format:

path/file/;path/file;path/file etc.

However, TC automatically passes multiple files to command line separated with a blank space, not semicolon.

Is it possible to add an option to configure the separating character for passing paths and files to command line (e.g. "blank space" or "semicolon" or "comma" or else)?

Posted: 2008-12-28, 11:32 UTC
by MVV
BTW, this is a normally in Windows to pass multiple files separated by spaces. Maybe your scanner supports file lists for scan?

Posted: 2008-12-28, 16:13 UTC
by andres992
I tried filelists but could not get it to work.

I know that spaces is normal Windows practice but apparently there are exceptions...

Posted: 2008-12-28, 17:32 UTC
by Horst.Epp
You can use the sed program to repace the spaces by whatever you like
and pipe its result into your program.

Posted: 2008-12-29, 11:00 UTC
by andres992
Thanks for the hint, I shall try this.

I still think that it would be much more comfortable to have such an option natively in TC :)