I need to look for files in a directory such that each customer Id is associated with 8 files.
say e.g
Abal101.dat
Abtb101.dat
Acpn101.dat
Aftb101.dat
Aftbf101.dat
Amg101.dat
Apost101.dat
Atrd101.dat
Now I need to check if all the 8 files exist for the particular customer id. Else I need to print an error saying which of the file is missing. Please advise.
Start Free Trial