Replaceable Parameter Not Saved When Editing File Type

Last reviewed: April 8, 1996
Article ID: Q149614
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

If you use a replaceable parameter when you are editing an action for a file type, the replaceable parameter may not be saved when you click OK to close the Editing Action For Type dialog box. No error message is displayed, but if you edit the action again, the parameter does not appear.

CAUSE

This behavior occurs if you do not place quotation marks around the replaceable parameter.

RESOLUTION

To work around this behavior, edit the action again and place quotation marks around the replaceable parameter. To do so, follow these steps:

  1. Double-click My Computer.

  2. On the View menu, click Options.

  3. Click the File Types tab.

  4. Click the file type you want to modify, and then click Edit.

  5. Click the action you want to modify in the list of actions, and then click Edit.

  6. Type the appropriate command line or DDE command in the appropriate box, placing quotation marks around the replaceable parameter. For example, to cause the action that you are modifying to open files in WordPad, type the following command in the Application Used To Perform Action box

          "<path>:\wordpad.exe" "%1"
    

    where <path> is the full path to Wordpad.exe.

  7. Click OK.


KBCategory: kbenv
KBSubcategory: win95
Additional reference words: 95


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: April 8, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.