Configurable Command Option in Lists

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Configurable Command Option in Lists

Post 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)?
#68776 Personal Licence
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW, this is a normally in Windows to pass multiple files separated by spaces. Maybe your scanner supports file lists for scan?
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Post 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...
#68776 Personal Licence
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6507
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

You can use the sed program to repace the spaces by whatever you like
and pipe its result into your program.
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Post 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 :)
#68776 Personal Licence
Post Reply