Avatar of Alisanne
Alisanne
Flag for United States of America asked on

Prevent auto-deletion of recovery/autos ave docunents

I have a client who has a habit if closing (no save) documents after several hours of work. It always happens up against a filing deadline.
I have auto save set fire every 5 minutes in both programs. But the auto save docs are deleted on a proper exit or save.

I am thinking of a batch file that runs every five minutes that copy the auto recover folder.

Do any of you have a note elegant solution?
Word Processors

Avatar of undefined
Last Comment
NVIT

8/22/2022 - Mon
NVIT

the auto save docs are deleted on a proper exit or save.
Set "Keep the last autosaved version if I close without saving". https://support.office.com/en-in/article/Help-protect-your-files-in-case-of-a-crash-551c29b1-6a4b-4415-a3ff-a80415b92f99
Alisanne

ASKER
I have that done as well. But they draft/use alot of Wordperfect docs as well.  In trying to preserve all versions of the auto recover docs "just in case" as each loss is several hundred dollars of lost billing.

Also I am tattooing but at what point are the recovery versions deleted in word (2010) if that option is checked. They don't always realize right away what they have done.  :(
Alisanne

ASKER
Sorry for typos. But the goal is to have many options, and not just immediately.  But to be able to go to recovery files at a later date as well, when the programs have already deleted them.

The users are not as sophisticated as I would like,  and the discovery has sometimes been delayed.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
NVIT

One option is to have robocopy copy changes every minute:
robocopy "C:\Users\username\AppData\Roaming\Microsoft\Word\*.asd" "c:\Backups\AutoSaves" /MOT:1

Open in new window

But, this would just keep 1 version, overwriting any existing. Still, although you may have multiple versions of .ASD files, it may be what you need.
Alisanne

ASKER
That is probably what I'll do. But maybe a script that copies  "folder" to "folder-stamp" on a 5 minute repeat. Then I could run another script that deletes all the copies more than 30 days old.

Only problem is I would want all this to run silently in the back ground.
Alisanne

ASKER
That is probably what I'll do. But maybe a script that copies  "folder" to "folder-stamp" on a 5 minute repeat. Then I could run another script that deletes all the copies more than 30 days old.

Only problem is I would want all this to run silently in the back ground.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
NVIT

That would work, too. You could use a combination of:
1. A .bat file with MD and COPY commands.
2. You can also include the 30 day cleanup in the same .bat.
3. Task Scheduler to run the .bat on a 5 min basis.
ASKER CERTIFIED SOLUTION
NVIT

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Alisanne

ASKER
That's pretty cool!  I'll play with that. Then I'll set both programs to auto backup into the same directory.

I'll leave this question open until I test if that's ok with you.
NVIT

No problem.

Note that I haven't taken into account:
1. Your WordPerfect files. But, that can probably be incorporated easily into the current solution.
2. Cleaning up the 30 day old files. That can be added in, comparing the current date against each of the existing DateTimeNow folders.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Alisanne

ASKER
Thank you so much!
Alisanne

ASKER
Followup on this Question:

I created the bat files for 3 separate locations (WP .bk# files, MS Word .asd files, and MS Word Unsaved files).

I created a folder for each (BackupWP, BackupMSW, BackupUnsaved.

I modified the examples you gave me for each. and placed 2 .bat files in each folder (DateTime.bat, and CopyFiles.bat).

If I run CopyFiles.bat manually, it works perfect! :)

If I create a scheduled item to run Copyfiles.bat it does not create the DateStamp folder and just copies into the Backup folder. thus overwriting the copied files each time.  

Any ideas why if run from the scheduler, it does not run/use the date/time folder? should I combine the two .bat files?

I have attached the files I am using for your review.
BackupWP.zip
NVIT

I messaged you,  Alisanne
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.