Search found 14 matches

by trotta
Thu Jan 31, 2013 10:38 am
Forum: General Discussion
Topic: Add characters to beginning of filename
Replies: 10
Views: 33883

Add characters to beginning of filename

Thank you.
It worked perfectly.
by trotta
Wed Jan 30, 2013 10:34 am
Forum: General Discussion
Topic: Add characters to beginning of filename
Replies: 10
Views: 33883

Add characters to beginning of filename

Hmm still does not work the way I need it to: ;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;*****************************   [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|0 CatID=INTEGER|1833531447 Comment=STRINGLIST ContinueOnError=INTEGER|0 Ex...
by trotta
Wed Jan 30, 2013 10:21 am
Forum: General Discussion
Topic: Add characters to beginning of filename
Replies: 10
Views: 33883

Add characters to beginning of filename

For some reason it is still cutting off part of the file name. This is what it is doing:
Old file name:  knvieo.txt
New file name:  Register_.txt
Also it needs to add to all of the files in the folder.
by trotta
Wed Jan 30, 2013 9:48 am
Forum: General Discussion
Topic: Add characters to beginning of filename
Replies: 10
Views: 33883

Add characters to beginning of filename

I am trying to do this same thing.  I need to rename files by adding a specific words onto the beginning.  When I do, it replaces the first characters.  I need the full name with new word on the beginning.
Old file name:  knvieo.txt
New file name:  Register_knvieo.txt
by trotta
Wed Jan 23, 2013 10:07 am
Forum: General Discussion
Topic: Split from flat file
Replies: 19
Views: 55040

Split from flat file

It needs to split on line 2,500 if the first number of the line is 5. If it is not 5 it goes to the next line. If the next line is  5, then it splits, if not then it needs to go to the next line and repeat until it gets to a line that starts with 5. Then continues counting lines until line number 5,...
by trotta
Tue Jan 22, 2013 5:14 am
Forum: General Discussion
Topic: Split from flat file
Replies: 19
Views: 55040

Split from flat file

We were able to get this working well and now have another challenge.
We need to split the file the same as before but now use the number of lines or the split file size in KB in addition to splitting after a 5.
by trotta
Wed Dec 19, 2012 10:11 am
Forum: General Discussion
Topic: Leading Zeros and reverse sort
Replies: 1
Views: 7922

Leading Zeros and reverse sort

I need to add a six digit sequence number to a line of text. The sequence number needs leading zeros.  This is so it can be sorted in reverse order after the file has the correct sequence number. This is what I have now:   text  1 text  2 text  3 text  4   What I need is:   text  000001 text  00000...
by trotta
Wed Oct 03, 2012 7:30 pm
Forum: General Discussion
Topic: Split from flat file
Replies: 19
Views: 55040

Split from flat file

It is working pretty well.  But when I try to split large files, over 20,000 KB or over 800 blocks it will split the first four then does not produce an additional file after that.  I'm looking to split a file of over 80,000 blocks into smaller files of 2,000 blocks. 
by trotta
Mon Oct 01, 2012 7:49 pm
Forum: General Discussion
Topic: Split from flat file
Replies: 19
Views: 55040

Split from flat file

I tried 400 the first time. Not sure what is going on but when I change the number I get different results. For 50 I get 5 blocks For 400 I get 5 blocks For 90 I get 90 blocks For 99 I get 989 blocks For 10 I get 1 blocks For 60 I get 6 blocks For 70 I get 7 blocks Is it possible to get over 100 blo...
by trotta
Fri Sep 28, 2012 6:09 pm
Forum: General Discussion
Topic: Split from flat file
Replies: 19
Views: 55040

Split from flat file

This is great! It works except that I can not change the maxblock to any number.  The resulting files only have five blocks in them.  Where exactly do I need to change it?
 
Thank you!