Windows batch file to rename to .txt and then remove the first header line.
Posted on 2011-03-09
I have an automatically generated file saved automatically in a folder every night : C:/Reports/Hotelexternaldata.20110308000000.20110308235959.EXP that I firstly want to rename to C:/Reports/PARC.txt and then remove/delete just the first line :
07.03.2011 01:12:04,'2398=1103052006',0,22,'No Rejection','4th Street Ent Right
and then save it again as PARC.txt in a new folder C:/Reports/Data