Windows: Working Directory in Program Item Properties

Last reviewed: August 30, 1996
Article ID: Q84181
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SUMMARY

When starting applications from Program Manager in Windows 3.1, you can specify the working directory in the Program Item Properties dialog box. (To access this dialog box, choose Properties from the File menu in Program Manager.) There are several reasons that an application may start with a different default directory than the one specified in the Program Item Properties dialog box.

Some applications have the ability to set the default directory. This always overrides Windows 3.1's attempt to specify a default directory as specified in either the Program Item Properties dialog box or a PIF.

The Working Directory setting in the Program Item Properties dialog box always has precedence over the Startup Directory in a PIF.

Applications that override the PIF and/or Program Item Properties dialog box entries implement this feature in different ways. For example, version 2.0 of Word for Windows has a DOC-PATH= setting in the WIN.INI file for the default directory for documents. WordPerfect version 5.1 has a setting in a .ENV (environment) file.

The WordPerfect product included here is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.


KBCategory: kbusage kbui kb3rdparty kbtool
KBSubcategory: win31
Additional reference words: 3.10 3.11 3rdparty


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.