Get help with installation and running here.
Moderators: DataMystic Support , Moderators , DataMystic Support , Moderators , DataMystic Support , Moderators
franknbeans
Posts: 17 Joined: Wed Aug 30, 2006 1:26 am
Post
by franknbeans » Tue Sep 12, 2006 7:25 am
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?
DataMystic Support
Site Admin
Posts: 2227 Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:
Post
by DataMystic Support » Tue Sep 12, 2006 9:04 am
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
franknbeans
Posts: 17 Joined: Wed Aug 30, 2006 1:26 am
Post
by franknbeans » Tue Sep 12, 2006 2:10 pm
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?
DataMystic Support
Site Admin
Posts: 2227 Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:
Post
by DataMystic Support » Tue Sep 12, 2006 4:31 pm
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.
franknbeans
Posts: 17 Joined: Wed Aug 30, 2006 1:26 am
Post
by franknbeans » Tue Sep 12, 2006 11:35 pm
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?
DataMystic Support
Site Admin
Posts: 2227 Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:
Post
by DataMystic Support » Wed Sep 13, 2006 12:55 pm
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.