• Thanks Michael.........yet another way of doing it , more simple.

    But now the problem is ( i would say not problem, but more complex) that i have seven flat files destination, then so i have to create 7 variable to hold rowcount for each file connection, i. e. 7 row count task with 7 variable and also agian 7 file system task to do delete.

    Would n't it be possible that just loop over the folder to see if any file that exists has size 0 , then if so delete it. Now, here i have problem, i am nor good at coding VB. so i have to work hard to get some code..

    ANyone out there can plzzzzzzz post me a code to see if any file in a folder has size 0 and if so delete it.

    Thanks.........