Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Newbie Question

$
0
0
I am a complete newbie to batch scripting, so I hope this question isn't totally "dumb."  I have a .txt file that includes three columns.  The first column contains ID numbers of students, the second column contains a teacher's name IF a student has a class in period 1, and the third column contains a teacher's name IF a student has a class in period 2.  If there is a value in Column 2, Column 3 is blank, and vice versa. 

I want to send the data to a NEW file that contains two columns only.  The first column will still be ID numbers, but I need to combine columns 2 and 3 into a single column so there will be a teacher's name next to each ID number, and no blanks.

Is this possible with a batch file?  I appreciate ANY assistance I can get.  TIA.

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>