WD: How Word Creates and Recovers AutoRecover Files

ID: Q107686


The information in this article applies to:
  • Microsoft Word 97 for Windows
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c


SUMMARY

This article describes how Word for Windows creates and recovers AutoRecover (.asd) files (AutoSave in Word 6.x and 7.x) when you select the "Save AutoRecovery Info every <n> Minutes" check box. (To locate this option, click Options on the Tools menu and then click the Save tab.)


MORE INFORMATION

NOTE: AutoRecover or AutoSave does not replace the Save command. You should use the Save command to save your document at regular intervals and when you finish working on it.

Setting the Location for .asd Files

If you do not set a location for AutoRecover files, Word places them in the temporary directory (in Word 6.x, the directory you designate with a SET TEMP statement in your AUTOEXEC.BAT file).

To set the .asd location, use the appropriate method for your version of Word

Method 1: Word 7.x, 97:

  1. On the Tools menu, click Options, and then click the File Locations tab.


  2. In the File Types box, click AutoRecover Files (AutoSave in Word 7.x).


  3. Click Modify.


  4. Enter the name of the folder in which you want Word to store recovered documents.


  5. If a new folder location is needed, click Create New Folder, type the new folder name, click OK, and click OK to exit.


Method 2: Word 6.x:

  1. On the Tools menu, click Options.


  2. Click the File Locations tab.


  3. Select the AutoSave Files list item.


  4. Click the Modify button.


  5. In the Modify Location dialog box, select the drive and the directory where you want to store AutoSave files, and then click OK.


Naming Conventions

Word 97: The naming convention for Word AutoRecover files is "AutoRecovery save of <document name>.asd," where <document name> is the file name of the document.

Word 6.x, 7.x: The naming convention for Word AutoSave files is ~Wra####.asd, where #### is a number generated randomly by Windows.

Opening Saved Files

When you start Word, it searches for any .asd files. If Word finds any, it does the following:

  1. Renames each .asd file to <document name>.wbk. Word 6.x and 7.x rename .asd files to ~Wra####.bak.

    NOTE: The #### numbers may not be the same as the .asd filename because Word avoids any naming conflicts with existing .bak files.


  2. Opens all AutoRecover files.


  3. Deletes the AutoRecover file (the "AutoRecovery save of <document name>.wbk" or the ~Wra####.bak file) when you do either of the following:

    Save the recovered file.
    -or-
    Close the recovered file without saving it.


When Files Are Renamed



Word 97:

Word renames the AutoRecover files in the case that the program hangs (stops responding) when the AutoRecover file is openned. The next time Word is started you see the following message:
Word encountered file corruption while opening <filename>. Part of this document may be recoverable. Attempt recovery now?
If you click Yes, Word attempts to recover all or part of the file. If you click No, the .wbk file remains in the AutoRecovery directory. Word 6.x, 7.x:

Word renames the AutoSave files in the case that program hangs (stops responding) when you open the AutoSave file. If a problem occurs that damages the AutoSave file, you can still recover your work using the ~Wra####.bak file, located in the AutoSave directory.

After Word renames your .asd files, it does not automatically open the .bak files, so you must open them manually by clicking Open on the File menu. To list all the .bak files, type ~wra*.bak in the File Name box.


REFERENCES

"Microsoft Word User's Guide," version 6.0, Chapter 21, "Opening, Saving, and Protecting Documents:" see sections, "Automatically Saving Changes" and "Restoring Lost Work."

Additional query words: 6.0 7.0 8.0 winword word95 word6 word7 word97

Keywords :
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a,97
Platform : WINDOWS
Issue type :


Last Reviewed: September 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.