Error on split file generated filenames

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
cwolter
Posts: 1
Joined: Wed Nov 09, 2016 8:43 pm

Error on split file generated filenames

Post by cwolter » Wed Nov 09, 2016 8:52 pm

Using 10.0.2 Standard.
I'm splitting a file in chunks based on a repeating string.
I want the output files names like: original_1.txt, original_2.txt and so on.
If I set the split filename pattern as: %f_%4.4d.txt I obtain original_0001.txt....
If I set the split filename pattern as: %f_%d.txt (as per the help specs) I obtain (!) a number of original_.txt files....
No incremental number is ever added.

I don't want 0's in front, but the chunks are more than 1 thousand, so....

Is it a bug ?

TIA

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

Re: Error on split file generated filenames

Post by DataMystic Support » Sun Nov 13, 2016 7:19 pm

It might be - what happens if you use %0d instead of %d?
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

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 9 guests