SPLITTING A .csv FILE
Posted: Tue Nov 28, 2006 11:01 pm
Hi,
I have a simple scenario. I will explain it step by step
I want to create a task which looks into a folder which contains many .csv files.
The task has to loop through all the files.
When it detects a .csv file which contains more than 30 rows it will split the file into two separate files.
For example in the folder there is a .csv file named TEST.csv which contains more than 30 rows.The task will split the file into 2 separate files.The first file is TEST.csv, contains data until the 30th row and the second file TEST_2.csv which contains data of row 31st onwards of the original file.
Is this scenario possible???
Please help
Thank you.
I have a simple scenario. I will explain it step by step
I want to create a task which looks into a folder which contains many .csv files.
The task has to loop through all the files.
When it detects a .csv file which contains more than 30 rows it will split the file into two separate files.
For example in the folder there is a .csv file named TEST.csv which contains more than 30 rows.The task will split the file into 2 separate files.The first file is TEST.csv, contains data until the 30th row and the second file TEST_2.csv which contains data of row 31st onwards of the original file.
Is this scenario possible???
Please help
Thank you.