Search found 1 match

by gaurde
28 Nov 2016 21:35
Forum: DOS Batch Forum
Topic: Batch script to check if the file has one line and delete
Replies: 1
Views: 2866

Batch script to check if the file has one line and delete

Hi, I am new to the forum, please help to suggest how can I achieve the below. I am generating some .txt files in a particular directory from a datastage job (ETL tool), some times where there are no records the files are generated with header only. I tried deleting the files based on the file size ...