
lst2run v0.4 (beta).

USAGE:
 lst2run [-h] [-e [exe]] [-s [expression]] [-l [list.file]] [-w [ms.]]
         [-p [ms.]] [-b]
   Runs the specified [exe] on every file in [list.file] with command derived
   from the expression.

     -h          Prints this screen.
     -w ms.      How long to wait between starting processes, default is
                 INFINITE, which means will wait till process is finished
                 before creating a new one. If wait time is specified
                 every call creates a new window, otherwise all processess
                 work in the same window. This switch is ignored if -p is
                 specified.
     -p ms.      How long to wait between the end of one and the start of
                 another task, default is no wait time, [-1] or 
                 [no milliseconds specified] means wait till key press
                 after each task, [0] means wait till key press to close.
     -b          Bip on pause, only works if -p switch is specified with [0]
                 or without parameters (only when user intervention is needed).
     *exe        The executable to run, can be any valid runnable file.
     *expression Expression to be used as the command for [exe], containing
                 valid placeholders.
     *list.file  A file containig a list of files to be run on.
     * Means - this parameter is needed and must be specified.

Currently valid placeholders are [#f] file name, [#p] path, [#e] extension
  Given a file [c:\somedir\di1\my file.ornot]
  #p = [c:\somedir\dir1]
  #f = [my file]
  #e = [ornot]

Example of usage with TC:

Command   : C:\path\lst2run.exe
Parameters: -s "a #f.rar \"#p\#f.#e\"" -e "C:\path\rar.exe" -l %L
Will call rar to archive for every file in the list one by one.
* Note the \" before #p, this is needed to put quotes if the file/command
  contain spaces.

