This documentation is archived and is not being maintained.

Invalid command '<command>' for file type '<filetype>'

The Command property for the specified file type is not an executable file or a project output that results in an executable file. The Command property specifies the executable file that is launched when an action is invoked on a file type; files that are not executable files cannot be launched.

To correct this error

  1. Double-click the error in the Task List to go to the referenced file type in the File Types Editor.
  2. In the Properties window, select the Command property. Click the Ellipsis () button to open the Select Item in Project dialog box.
  3. Choose a folder that contains the executable file for the file type, and select the executable file.

See Also

Command Property | Adding and Deleting Document Types and Associated File Extensions in the File Types Editor