Page 1 of 1
CMD Syntax
Posted: Tue Sep 12, 2006 7:25 am
by franknbeans
If we are including more than one filter in a batch file such as:
Code: Select all
start /w textpipe.exe "/f=my special filter.fll" /g "/f=my special filter2.fll" /g "/f=my special filter3.fll" /g "/f=my special filter4.fll" /g /q
and we would like to apply a /z=commands.txt file what would be the correct syntax for including
in the command?
Posted: Tue Sep 12, 2006 9:04 am
by DataMystic Support
In the /z file you don't need the double quotes - they are only required by the DOS command line.
So you might have
start /w textpipe.exe "/z=commands.txt"
and commands.txt would contain:
/f=my special filter.fll
/g
/f=my special filter2.fll
/g
/f=my special filter3.fll
/g
/f=my special filter4.fll
/g
/q
Posted: Tue Sep 12, 2006 2:10 pm
by franknbeans
but my question is, how do I include the location of my files to filter?
ie: c:\my documents\*.*
where would that fit into all of this?
Posted: Tue Sep 12, 2006 4:31 pm
by DataMystic Support
Sorry, it wasn't very clear to me. I assume you want to filter all the files by all the filters, so use:
/f=my special filter.fll
c:\my documents\*.*
/g
/f=my special filter2.fll
c:\my documents\*.*
/g
/f=my special filter3.fll
c:\my documents\*.*
/g
/f=my special filter4.fll
c:\my documents\*.*
/g
/q
BTW - all these filters will run simultaneously. To run them in series (one after the other), you need to run TextPipe 4 times.
Posted: Tue Sep 12, 2006 11:35 pm
by franknbeans
DataMystic Support wrote:
BTW - all these filters will run simultaneously. To run them in series (one after the other), you need to run TextPipe 4 times.
Wouldn't it be easier then to just include all of your filters into the same .fll file?
Posted: Wed Sep 13, 2006 12:55 pm
by DataMystic Support
Yes - either insert them all into the one filter list, or create a new higher level filter list that links to each one in the right order.