Export (0) Print
Expand All
Expand Minimize

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

Tasks

How to: Add and Delete Document Types and Associated File Extensions in the File Types Editor

Reference

Command Property (Deployment)

Community Additions

ADD
Show:
© 2014 Microsoft