Welcome to the computer Hope forum.
Before a definite answer can be provided, some more detail would be needed. We see you are a beginner. You mentioned a record number. This could lead to the conclusion that you are using some type of database manager. Is that true? And what kind of file are you trying to read?
With the Windows operating system the only built-in language that would be suitable would be what is called VBScript. Are you familiar with this?
Please let us know if you're trying to use any programming language and if you are trying to use a database manager, such as Microsoft Access.