This question already has an answer here:

I am attempting to automatically open a PDF after recompilation using TeXnicCenter. If I compile using Ctrl + F7, I can go into the directory of the PDF and it opens fine, but if I use Ctrl + Shift + F5 to "Build and View", the PDF won't open, and I get the error message "Cannot execute the command":

screenshot of error message

I have just reinstalled my Adobe, so this shouldn't (?) be an issue. This happens with both LaTex => PDF and XeLaTeX => PDF options.

Update: Here are my DDE settings:

enter image description here

marked as duplicate by Speravir, cmhughes, Guido, Peter Jansson, Red Mar 20 '14 at 22:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Close down TeXnicCenter; restart it, and try again. – Werner Mar 19 '14 at 16:24
  • That didn't work. I also restarted my computer. – user14717 Mar 19 '14 at 16:27
  • ah the wonderful DDE commands, I don't have TeXnicCenter at hand at the moment, but there is an option to use command line arguments instead of these commands I believe, you could try that. Or maybe try something like Sumatra PDF, which also provides inverse search with the correct configuration. – hugovdberg Mar 19 '14 at 16:53
  • @hugovdberg: Yes, I am with, SumatraPDF is the best program here, but the question was not for inverse-search. – Speravir Mar 20 '14 at 0:56
  • No problem here, could you post your DDE settings, please? I do not understand your phrase “go into the directory of the PDF”, though, because it should open without explicitly doing this. And do you use Adobe Reader (as i assumed in my edit of the title) or Adobe Acrobat? – Speravir Mar 20 '14 at 1:00

Browse other questions tagged or ask your own question.