Microsoft KB Archive/83250

PUB: Placement of Publisher Temporary Files

= PUB: Placement of Publisher Temporary Files =

Q83250
The information in this article applies to:

- Microsoft Publisher for Windows, versions 1.0, 1.0a, 2.0, 2.0a - Microsoft Publisher for Windows 95, version 3.0 - Microsoft Publisher 97

SUMMARY

=
Publisher will place most of its temporary or scratch files in the location that the SET TEMP variable in the AUTOEXEC.BAT file points to (for example, SET TEMP=C:\TEMP). Publisher scratch files are named ~pub####.TMP. Publisher scratch files may also be created in other areas of the hard drive or on different hard drives when saving a publication. These files are placed on the root directory of the drive that the file was saved on, or in the directory that the file was saved.

Publisher cleans up its temporary files when it exits. Therefore, if you have rebooted your computer while Publisher is running, there may be temporary Publisher files on your hard drive. You can delete these temporary files before entering another Publisher session; however, do not delete these files while Publisher is running.

MORE INFORMATION

=
===

Publisher has a main scratch file (which is not always created). The main scratch file contains the text you enter, and is placed in the TEMP directory. Publisher also makes scratch files when doing file format conversions (Import Text, Open Existing Publication, Save As commands) or when communicating with other instances of Publisher or other applications via the Clipboard. Those files also go in the TEMP directory.

When saving a publication, Publisher will also create a temporary file in the root directory of the drive that the file is saved in or the directory that the file is saved in.

When saving a publication that has been saved previously (without the backup option enabled), Publisher needs to keep the data in the original file until the end of the save process. This data is put into a temporary file during the save process. The temporary file is not placed in the TEMP directory, because the TEMP directory could on be a RAMDrive. The temporary file may be too large to fit on the RAMDrive, thus preventing the saving of the publication. Therefore, the temporary file is placed in the directory where the file was saved or in the root directory of the drive.

This temporary file may not get deleted immediately after the save if you copied some text to the Clipboard before you saved. However, it will be deleted when exiting Publisher.

Additional query words: pub10 1.00 1.00a 2.00 2.00a 3.00 pub3 pub97 mspub