Microsoft KB Archive/67208

Word: Invalid SET TMP Directs TMP Files to Program Directory

PSS ID Number: Q67208 Article last modified on 11-02-1994

5.00 5.50 6.00

MS-DOS

= SUMMARY =

The SET TMP environment variable can be used to redirect temporary files created by Word to a specific drive and directory path.

If Word cannot locate the drive and directory path specified by the SET TMP environment variable, Word’s temporary files will be directed to the Word program directory. DOS will not respond with an error message stating that the drive and directory path are incorrect or do not exist.

The SET TMP environment variable should be set within the AUTOEXEC.BAT file.

Example:

SET TMP=C:

To determine if TEMP is a valid directory in the previous example, from the root directory on drive C, change to the Word directory (CD WORD), then change to the TEMP directory (CD TEMP).

If an error does not occur (for example, “invalid directory”) then the directory exists and the SET TMP variable is valid.

KBCategory: kbother kberrmsg KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.