1 (edited by Stefan 2007-03-25 16:39:12)

Topic: [Wish] Command line parameter /L "list of files"

Hi,

how can i start Siren in command line mode
with an favorite as parameter
and execute this on a few files at once?


I can use
/R /Q  /A favorite  file1.ext   file2.ext   file3.ext  ...

but i need
/R /Q /A favorite /L files.lst
to use a list of files as parameter.


For example:

C:\Test>Dir /A /S *.txt >files.lst

files.lst
C:\Test\abc\file-0ne.txt
C:\Test\abc\file-two.txt
C:\Test\1.txt
C:\Test\2.txt
...


Advantage:
1.) This way one could build a list of files as text file and execute the favorite to all the files in that list.
2.) And this way one could have a list of always the same file name to execute.

3.) We could make batch files:
@ECHO OFF
C:
CD MyWebSides
Dir /A /S *.html >files.lst
WAIT
Siren  /R /Q     /A favorite_lower_ALL     /L C:\MyWebSides\files.lst


4.) We could use this in Total Commander:
Siren  /R /Q /A favorite /L %L




Can you please implement such an function?

greeds
Stefan

Re: [Wish] Command line parameter /L "list of files"

Hello,

For example 3) maybe this command will work:
siren /D C:\MyWebSides /T /F "*.html" /S "*" /A favorite /P /R /Q

I've added the "/P" because else all command line elements are saved in the ".ini" and so will be used during next siren's start.

This file list parameter can be interesting if the files to rename can't be easily "grouped" with a filter.
I'll think to it for a next version.

Thanks.