Cannot open the .cmd file.

This error occurs during the opening process of running a command file. Part of the opening process is to discover the type of security authentication used by the command file. For some reason, the command file cannot be found on the disk drive.

You can try any of the following remedial actions:

  • Make sure the directory path to the file still exists. You can view the path by right-clicking the command file in Solution Explorer and choosing Properties on the shortcut menu.
  • Check the security settings of the command file directory.
  • Rebuild the command file and try again.
  • Check the Microsoft Knowledge Base for any available new information on command file errors with the Visual Database Tools. See https://support.microsoft.com/default.aspx?scid=fh;EN-US;KBHOWTO.