DOCERR: File Manager Doesn't Associate PWB MakefilesLast reviewed: July 17, 1997Article ID: Q87514 |
7.00 | 7.00
MS-DOS | WINDOWS
kbtool kbdocerr
The information in this article applies to:
SYMPTOMSPage 67 of C/C++ version 7.0 "Environment and Tools" manual suggests associating a .MAK file with Programmer's WorkBench (PWB) using the File Manager. This will not work as described under Microsoft Windows 3.1; however, it will work as described under Windows 3.0. When a .MAK file is associated with PWB using the command line
pwb.pif /PPwith the association feature of the Windows 3.1 File Manager, an error occurs. The error says that the association is not an executable and cannot be used.
CAUSEWindows 3.1 will not allow parameters to be specified for the command to be executed on an association. Windows 3.0 does allow this syntax.
RESOLUTIONA possible workaround is to create a batch file to be associated with the .MAK files. For example:
if "%1" == "" goto label call pwb.exe /PP %1 goto end :label call pwb.exe :endWith the Windows PIF Editor, change the program filename for PWB.PIF from PWB.EXE to the name of the batch file created (for example, PWB.BAT). This will simulate the preferred response.
|
Additional reference words: 7.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |