1.

Solve : editing a csv file using a batch file?

Answer» Im trying to make my first batch file and  trying to use it to open a csv file and delete the first 6 lines and then move to end and delete the LAST LINE.  I have been trying to figure something out the last few days but I havent been successful  

here are the first 6 lines im trying to delete in the csv:

Enter value for begin_date: 01-JUN-2005
old 216:    vd_begin_dt           DATE                                 := '&Begin_Date';
new 216:    vd_begin_dt           DATE                                 := '01-JUN-2005';
Enter value for end_date: 05-SEP-2005
old 217:    vd_end_dt             DATE                                   := '&End_Date';
new 217:    vd_end_dt             DATE                                   := '05-SEP-2005';
I can give you a workaround.

Install CYGWIN, unix environmen, this will allow you to run unix commands.

If you do then i can do that in a second.


Discussion

No Comment Found