TextPipe 'Files to process' tab & 'Single file output'?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

TextPipe 'Files to process' tab & 'Single file output'?

Postby DFH » Mon Mar 17, 2008 3:40 am

When a wildcard is used in the filespec for the 'Files to process' tab, and the TextPipe filter also uses the 'Single file output' option, the order in which matched files are processed is important. How does TextPipe determine the order?

Suppose an earlier filter had used the 'Split files' filter to split a large file into a number of small files, each sequentially numbered.

Suppose also, that the user renames [or copies] [some of] these small files, such that the files would have a different order IF SORTED ON FILENAME.
Does TextPipe wildcard use the filenames for the processing order, or the order as found in the Windows directory record?

Does the Status tab always accurately represent the order in which files are processed?

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

Postby DataMystic Support » Mon Mar 17, 2008 7:24 am

Hi David,

TextPipe processes the Files to Process list row in order, so if you had listed

Code: Select all

c.txt
b.txt
a.txt


then the files would be processed in the displayed order - c,b,a.

TextPipe does not sort the list of files to process (but you can sort the list by clicking the Filename column heading). In addition, if you use a wildcard, TextPipe retrieves files based on the Windows directory record order, which is generally unsorted.

The status tab always reflects the actual order that files are processed.

If a file matches a wildcard twice, it will be processed twice.
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

DFH
Posts: 636
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Response

Postby DFH » Mon Mar 17, 2008 6:11 pm

Thanks Simon,

It may be helpful to other users if this description were to be included in the TextPipe help file.

Best regards,
David Haslam

PS. How can a filespec wildcard ever match the same file twice in Windows?

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

Postby DataMystic Support » Tue Mar 18, 2008 9:47 am

It's already in the help file :-)

A wildcard can't match the same file twice, but let's say you had
c:\files\a.txt
c:\files\*.txt

Then the file a.txt would be included twice.
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 1 guest