sandiegophil Posted April 15, 2010 Posted April 15, 2010 Hello, Is anyone aware of a program that will scan a directory or drive and fine all orphaned .bak files. By orphaned I mean a .bak file that does not have a .dwg file by the exact same name in the same directory. Any help is appreciated. Thanks, Phil Quote
BIGAL Posted April 16, 2010 Posted April 16, 2010 you could do it in vba or lisp pretty easy, You can access the cmd mode of the operating system and you would just do a dir *.dwg >dwglst then dir *.bak >baklst a simple program would read list 1 compare list two and delete files where they do not match. There is a lot here on the forum it may take a bit of a search about copy files from one directory to another that would be a good starting point a word of warnig though anything that deletes files needs to be used with caution. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.