I changed the case with upper case C and executed the script.. below is the result i got
my count is 1
there is no file to write
my count is 1
there is no file to write
my count is 1
there is no file to write
my count is 1
there is no file to write
__________________________
I have 4 files in the directory , one of the files has 1 record and other 3 have more than 1 ..
Main Topics
Browse All Topics





by: mostartPosted on 2009-05-04 at 08:02:46ID: 24295835
watch your case. $Count is initialized with capital C and later you are using lower case c..