-
Reading all files
Hi,
I am trying to write a progam which will allow me to open any document (exe, damaged documents, jpeg) , and read any readable words. These readable words should be saved into a seperate text file.
Can anyone advise me in how I can do this ?
Any help is appreciated.
Thanks,
Windoz
-
How would you programatically define "readable words" ?
-
I have an old DOS program that does exactly that, but as jamie points out, you have to decide how you define "readable". The app I have is rather stupid and defines it as any three or more consecutive ASCII-coded letters, upper or lower case.
You can do it by just reading the whole file into an array and then sweeping through and capturing, for example, any group of 3 or more letters