PDA

View Full Version : Testing for multiple file types.



NewsArchive
11-26-2009, 03:24 AM
Trying to process a directory structure with Load File List, but only want
to process files which are image types.
How do I handle multiple types?

%MYPATH%/*.bmp;*.jpg;*.jpeg;*.png
doesn't seem to work.

2nd thought...

Is it possible to test a string value against a list? Couldn't find a
command for it, something like
Set Variable %LISTVAR% to "bmp|jpg|jpeg|png"
If %STRINGVALUE% In List %LISTVAR%
End
(Actually, this would be helpful in TONS of places)

Thanks,
-Glenn.

NewsArchive
11-26-2009, 03:25 AM
Hi Glenn,

> Trying to process a directory structure with Load File List, but only want
> to process files which are image types.
> How do I handle multiple types?
>
> %MYPATH%/*.bmp;*.jpg;*.jpeg;*.png
> doesn't seem to work.

We have added support for multiple wildcards (see attached screenshot).
This will be available in the next maintenance build. Thank you for your
suggestion.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-05-2009, 08:14 AM
((GRIN))
Thanks Friedrich!
Will look forward to it.

Glenn Paschal