Search found 6 matches

by NetBackUp_Admin
07 Dec 2009 14:14
Forum: DOS Batch Forum
Topic: How to... merge lines?????
Replies: 4
Views: 6497

Thank you man! This worrked just great. Only that I would like the final file to be displayed at the end of the batch. I tried adding: type file3.txt nothing... :eof type file3.txt nothing... for /f seems to llop in circles ignoring whatever is after the second "goto :eof" and at the end o...
by NetBackUp_Admin
02 Dec 2009 19:41
Forum: DOS Batch Forum
Topic: How to... merge lines?????
Replies: 4
Views: 6497

How to... merge lines?????

Hi there, I am still pretty new to batch scripting world, been trying different ways to do this without good results... Here I go: Let's say that I have 2 files, both of them with multiple colums each and that will have always the same number of lines. What i need is to merge the contents of each li...
by NetBackUp_Admin
26 Oct 2009 21:09
Forum: DOS Batch Forum
Topic: Subtotals in DOS Batch
Replies: 8
Views: 9717

U did it! THANKS!

@ghostmachine4: Sorry man, I cannot use anything but plain DOS. Thans anyway! @avery_larry: U rock man! this works just great, (almost) flawless! The only thing i noticed is that i am getting always a result a lil under the real one. I mean, for my biggest server, all of the images do a total of 139...
by NetBackUp_Admin
21 Oct 2009 20:11
Forum: DOS Batch Forum
Topic: Subtotals in DOS Batch
Replies: 8
Views: 9717

Oh...!!! You had to change the whole code... sorry about that... ************************************************************************************************ NOTE: If you want to quit now, I will understand. You've already helped me a lot. I owe you man! *****************************************...
by NetBackUp_Admin
20 Oct 2009 22:45
Forum: DOS Batch Forum
Topic: Subtotals in DOS Batch
Replies: 8
Views: 9717

DOS Batch Math!!!

Let me say something: U simply ROCK man!!! Real Genius!!! Thank you, thank you, thank you!!! This works great with the example list! However, it is not working with the real list, but I know it is not your fault, I did not give a good explanation in the begining. Here I go: The real list looks like ...
by NetBackUp_Admin
19 Oct 2009 21:14
Forum: DOS Batch Forum
Topic: Subtotals in DOS Batch
Replies: 8
Views: 9717

Subtotals in DOS Batch

Ok, I am pretty new to batch scripting, maybe you can help me: Let's say that I have a text file that looks like this: svr_list_1.txt server1 1 server1 5 server1 2 server2 22 server2 1 server2 1005 server2 110 server3 4 server3 2002 server4 14 (and so on) The goal is to get a new svr_list_2.txt file...