Kbase P107923: How to redirect temporary files for files associated with Prowin32
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
GOAL:
How to redirect temporary files for .p files
GOAL:
Can the Temporary files be redirected when double clicking on a .p file?
GOAL:
How to redirect temporary files for files associated with .p?
GOAL:
How to redirect temporary files for files associated with Prowin32.
FACT(s) (Environment):
Windows 32 Intel
FIX:
At times .p files are called from outside of the Procedure Editor by double clicking on the actual file from within the Windows Explorer.
These files have been associated with Prowin32 which in turn launches the Procedure Editor and the code gets displayed as expected.
When this process takes place the temporary files that are associated with the Prowin32 process will be created in the directory where the .p file is located. This might not necessarily be in the working directory thus making it important to redirect these files.
To redirect the temporary files that are created when a procedure is called by double clicking the file in a Windows Explorer folder do the following:
1) Open Windows Explorer
2) From the Explorer toolbar Click on Tools -> Folder Options -> File Types
3) Scroll to the P association and highlight it
4) Select Advanced Option
5) Select "Open in the Procedure Editor" and click on EDIT
6) In the section that reads "Application used to perform action" modify the command line to include a -T parameter.
Initially it will read: "c:\progress9\91D\bin\prowin32.exe" -param "%1"
Modify it to read: "c:\progress9\91D\bin\prowin32.exe" -T <new directory> -param "%1"
7) Exit the file association dialog box by clicking OK.