ivananonymous

Sort working .doc files from not working .doc files

3 posts in this topic

#1 ·  Posted (edited)

Hi,

I just want to ask for some advise on how to sort .doc files. I have tons of word files from .eml files which I extracted a while back. Now, I am facing the problem of sorting corrupt files from the working files. Please advise.

*I just tested the files that fail to open were .xls files and were mistakenly named .doc files

Edited by ivananonymous

Share this post


Link to post
Share on other sites



How do you distinguish corrupted from working docs?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2016-08-18 - Version 1.4.6.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2016-12-04 - Version 1.2.2.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

when i try to open a corrupted document it fails or should i say a mislabeled .doc  that is supposedly in .xls format.. 

I'll start working on it now. I'm thinking opening all .doc files in autoit and if it fails then rename the extension. 

*I just tried opening it with _Word_DocOpen() and it opens successfully (showing senseless characters) but this is not the case when i try to open the file manually. 

Edited by ivananonymous

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now