Autocad File Integrity Checker

brabhohn

Beta member
Messages
1
Location
Ireland
We need a way to batch check the integrity of a lot of AutoCAD files and need suggestions or recommendations. These files have been recovered from a raw data image so many of them are corrupt and will not open. The option to move any undamaged files would be extra beneficial.

The only program I have been able to find is one called SmartPurger but it does not work as AutoCAD will popup with error messages on corrupted files and stall the process. There is an option in SmartPurger to auto accept the popups but it does not seem to actually work.

I know that there is a Batch Standards Checker bundled but we have 100000 files and I have to click ok on every corrupted file.
 

S0ULphIRE

Golden Master
Messages
9,230
Location
Australia
You can stick with teh Batch Standards Checker and just write a quick AutoHotKey script that'll click "ok" on the corrupted file window for you. I might also be able to move the file to a different folder depending on what info the "corrupted file" notification has

Download here: AutoHotkey: macro and automation Windows scripting language
When installed, open "AutoIt3 Window Spy" and select an example "this file is corrupted click OK" window. Don't click "Ok", just click the dialog box so it's selected and you should see the window details pop up in Window Spy.

Screenshot the Window Spy details and post here.
 

freddyfarmer

Beta member
Messages
1
Location
USA
Guide below must help you, if not you may always use useful threads below from Internet space, ultimate solution will help you only in case your AutoCAD file is seriously damaged

http://www.cadtutor.net/forum/showthread.php?89546-Drawing-Corrupt&p=613240&viewfull=1#post613240
http://board.flashkit.com/board/sho...ged-DWG-file&p=4322193&viewfull=1#post4322193
https://www.repairtoolbox.com/autocadrepair.html DWG Repair Toolbox

1. Go to Tools --> Options
2. Inside Options go to the “Files” Tab (far left)
3. Inside the files tab go to: “Automatic Save File Location” and see where the autosave files are stored. (mine where stored at C:\Documents and Settings\USERNAME\Local Settings\Temp)
4. Then access that folder and try to find a file with the same file name but different extension. (The autosave files should have a either a .BAK or a .SV$ extension) (if you can't see the folder, you need to go to Tools --> folder Options --> View --> and Make sure "show hidden files and folders" is SELECTED) .
5. Check the "date modified" of those files, if the date and time makes sense according to when you had the last file crshes, there is a good chance that those files contain the information you need, so there is no need to redraw everything.
6. Change the file extension of the file you think it might be the good one from .bak or .sv$ to .dwg (to be able to change the file extension you need to be able to see it. To do that, on any folder go to Tools --> Folder Options --> View --> and make sure that "Hide extensions for known file types" is UNCHECKED)

If your auto-save feature is disabled, you can enable it in AutoCAD by going to Tools --> Options --> "Open and Save" Tab --> and there make sure that the "Automatic save" on the lower left corner is active and preferably set to every 10 minutes or less. To easily change the time of the autosave feature, use the SAVETIME system variable
 
Top