Program to erase bak files?

Program to erase bak files?

MRM4TN
Enthusiast Enthusiast
4,014 Views
11 Replies
Message 1 of 12

Program to erase bak files?

MRM4TN
Enthusiast
Enthusiast

I'm looking for a good program that will automatically erase old bak files. I have one called AutoErase, but I can't get it to work on any machine. It used to work great. I could set it for which directories I want, files other than .bak files, and more. I'd like to find something similar to that. Thanks.

0 Likes
4,015 Views
11 Replies
Replies (11)
Message 2 of 12

peterm
Collaborator
Collaborator

I just use Windows File Explorer and do a search for *.bak, then delete them.

0 Likes
Message 3 of 12

qnologi
Advisor
Advisor

This back and forth seemed worth reading... unless you already have.

 

https://forums.autodesk.com/t5/autocad-2000-2000i-2002-archive/are-bak-files-necessary-after-a-drawi...

qnologi
0 Likes
Message 4 of 12

TerryDotson
Mentor
Mentor

 As mentioned, Windows Explorer can find and delete all BAK files in bulk, so can the Windows CMD console.  If you were to consider third party software, DotSoft's ToolPac contains a more selective BAK purge that can search a drive/folders and shows the current drawings and their bak files (with previews) and time/size differences to help make more careful deletions.

tpdwgpurbak

0 Likes
Message 5 of 12

murray-clack
Advisor
Advisor

Have you looked into the MOVEBAK command?

0 Likes
Message 6 of 12

qnologi
Advisor
Advisor

It was briefly, or somewhat mentioned in my post. : )

qnologi
0 Likes
Message 7 of 12

MRM4TN
Enthusiast
Enthusiast

I could use Windows Explorer, but we have mutiple drawing directories and I like to keep .bak files that are up to 2 weeks old, just in case.

0 Likes
Message 8 of 12

peterm
Collaborator
Collaborator

In which case, you just do a search from the root directory, then order the bak files by date and delete all the ones older than 2 weeks.

0 Likes
Message 9 of 12

leothebuilder
Advisor
Advisor

I use the MOVEBAK command (Express Tools) to divert all the .bak files to a specific

folder on my C-drive called (you guessed it) "Bakfiles".

From there it's very simply to delete older files no longer needed.

0 Likes
Message 10 of 12

Ed__Jobe
Mentor
Mentor

I use the MOVEBAK command. Then I have this .NET dll that deletes bak files from the movebak folder which are older than 30 days. It runs when you close acad. You don't have to do anything. The included script will NETLOAD it for you.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 11 of 12

josue777torsan
Advocate
Advocate

How do you load dll file?

Architect, CAD Manager in Mexico City
0 Likes
Message 12 of 12

ennujozlagam
Mentor
Mentor

you can refer to this ARTICLE and see if helps. thanks





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes