Knowledge Base

Replaceable Parameter Not Saved When Editing File Type

Article ID: 149614

Article Last Modified on 11/15/2006


APPLIES TO


This article was previously published under Q149614

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.

Keywords: KB149614