CMD Syntax

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

CMD Syntax

Postby 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

Code: Select all

"c:\my documents\*.*"

in the command?

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

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

Postby 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?

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

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

Postby 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?

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 9 guests