LineTerpreter v1.3

          
Version 1.3

Download Source + binary

Screenshot

Version 1.2

 

 Example

 How to use

 Download Binary

 Download Source

Version 1.1 

 Download Binary

 Download Source

 

   A Tool for automatic batch processing by going through all lines of a textfile. these lines are then used as parameters for a specified command, functions included to separate the filename from a long string.
It is very flexible and can be used for  a great variety of automatic jobs.

New Version is just 24 KB small.

Example1:

You have a text-file with hyperlinks (zip files). Because you don't want to manually cut & paste every single line into your browser window and waiting for the download to end, you can use this tool which goes line by line through your textfile, and then gives every filename as parameter to a command line tool like LeechURL, which can download files from the net by console.

Example2 (console usage):

Existing Folder with files unpack1.zip unpack2.zip and blubb.zip:

- start cmd.exe to launch a command line
- go to the folder containing the zip files, ie:
cd \download\myzips
- type:
dir /B *.zip > ziplist.txt
(that will generate a file ziplist.txt, with all the plain filenames of the zips)
- lineterpreter "/c:C:\zip\pkunzip.exe -o" /t:ziplist.txt /p2:C:\unpacked');
that would assume that u have pkunzip.exe in c:\zip and lineterpreter.exe in one
of the folders in your PATH-environment variable (i.e. C:\windows\system32) or in
the same folder as your zip files
the quotes around "/c:C:\zip\pkunzip.exe -o" are required to let the program
handle C:\zip\pkunzip.exe -o as one term, not two ('coz it has a space inside)

Result: linterpreter starts:

C:\zip\pkunzip.exe -o unpack1.zip C:\unpacked
C:\zip\pkunzip.exe -o unpack2.zip C:\unpacked
C:\zip\pkunzip.exe -o blubb.zip C:\unpacked

so all zips would be extracted into that path, overwriting existing files (-o switch)
(so pkunzip.exe will not wait for a user input, if it finds a existing file)

 

How to use:

  • Specify the file that contains the lines in the first text box. The actual line of this textfile serves as parameter #1 for the program specified in the third textbox row.

  • Specify the second parameter - as in this case you will need a directory name + you can use by example the first part of a filename (if the line in the textfile contains such), add a counter (possible: LineCounter, Startcounter (just with Timer mode)), add again the file extension and also a custom string. This time it's done by some nice Checkboxes.

  • Specify the console program to execute - this can be any batchfile or whatever

  • As a special goodie in the new version it's possible to start a timer. You can e.g. use that for download something all 30 minutes. By clicking the StartCounter Value in Param2 you mind using the same filename twice. (Look at the upper screenshot)

  • Don't use the Wait for Errorlevel function as it (removed in version 1.1) sometimes would let the program hang if an error occurs.

  • Press on START if you're ready. 

 

Screenshots:

New Version:


Version 1.2:

Version 1.1

Output of above screenshot