riderman34
Programmer
Can someone please help? I am writing a program that reads a file and then moves that information to various tables in our application. Before I do anything with the file I want to determine if it is in Ascii format. If it is then I want to process if it is not then I do not. Is there a C function or a windows call that will help me to determine what the kind of file is being used? I have already ruled out looking at the files extension; because Ascii can be many different file types. Can anyone help? thanks