Advertisement

08.07.2006 at 04:39PM PDT, ID: 21946357
[x]
Attachment Details

Join values using Batch Script.

Asked by prashsax in MS DOS

Tags: script, batch, dos, join, using

Hi,

I am having problem joining 4 values which i am getting using a for loop over a period of 4 loops.

Here is what I am trying to do.

Suppose a file have values in this format:

----------------------------------------------------
Firstname
lastname
nickname

firstname
lastname
nickname
..
---------------------------------------------------
Now what i want to do is to read this file using for loop and then join the values of firstname,lastname,nickname to create another file in this format.

---------------------------------------------------
firstname,lastname,nickname
firstname,lastname,nickname
--------------------------------------------------

Please help me out.

Thanks.Start Free Trial
[+][-]08.07.2006 at 07:03PM PDT, ID: 17268313

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MS DOS
Tags: script, batch, dos, join, using
Sign Up Now!
Solution Provided By: SteveGTR
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.08.2006 at 09:57AM PDT, ID: 17272917

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32