This worked but now the output file has no commas in it?
set objFSO = CreateObject("Scripting.FileSystemObject")
set objInput = objFSO.OpenTextFile("C:\reports\classdataFile.csv", 1, true, 0)
set objOutput = objFSO.OpenTextFile("C:\reports\classdatfile1.csv", 2, true, 0)
do while not...
it is a .csv file that looks like this
Scott,Dieterle,219,N,Hale,Ave
The file comes out of a program that I run, I have to strip the first comma manually in excel
Need a script to just strip off the first comma
I will create a .bat to move the file to an FTP site
I have a .CSV file and I am trying to combine the first 2 columns.
IE
input
Scott,Dieterle,219,N,Hale,Ave
Output
ScottDieterle,219,H,Hale,Ave
Any help would be appreciated. I am new to .bat and .vbs and trying to learn as I go!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.