Microsoft KB Archive/87664

{| = PRB: Distribution Kit on LAN Leaves Temporary Files Behind =
 * width="100%"|

ID: Q87664

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, version 2.0

SYMPTOMS
While compiling an .EXE file, the process stops with a &quot;Cannot open file&quot; or a &quot;Error 3008:Cannot open file ...&quot; error message that refers to a distribution kit program file. If the user is given all access rights (except for delete) to the program directory, the program compiles correctly. However, the compilation process leaves several files in the program directory with names like WLK02112.--a, WLK02112.--b, WLK02112.--c, and so on.

CAUSE
Compiling program files in the FoxPro Distribution Kit places the temporary files in the directory from which the user starts FoxPro. Or, if the &quot;SET TEMP= &quot; command is used in the AUTOEXEC.BAT file, the temporary files are placed in the path specified in this command. The TMPFILES statement in the CONFIG.FP file does not affect file placement.

RESOLUTION
Include the fully qualified path to the network drive and directory where the FoxPro Development and Distribution programs are installed. Start FoxPro from a user directory that has all rights, including erase or delete rights, assigned to it. The process of compiling using the Distribution Kit creates files in and deletes files from the user directory. The system administrator can designate the program directory read only.

Additional reference words: FoxDos 2.00 build executable stand-alone application KBCategory: kbtool kbnetwork kberrmsg kbprg kbprb KBSubcategory:
 * }