CMD Syntax

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
franknbeans
Posts: 17
Joined: Wed Aug 30, 2006 1:26 am

CMD Syntax

Post 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

Code: Select all

"c:\my documents\*.*"
in the command?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
franknbeans
Posts: 17
Joined: Wed Aug 30, 2006 1:26 am

Post 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?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
franknbeans
Posts: 17
Joined: Wed Aug 30, 2006 1:26 am

Post 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?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post 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.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Post Reply