Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I open a specific MS Project 2007 file from the command line? I've tried the simple-minded:

"C:\Program Files\Microsoft Office\Office12\winproj.EXE" "%1"

However this doesn't open the passed file argument. Any ideas?

share|improve this question

I've found the answer. It seems that you need to have the full path to the file you're talking about for the command line to work. In my batch file to do that I've coded it as:

"C:\Program Files\Microsoft Office\Office12\winproj.EXE" "%CD%\%1"
share|improve this answer

Did you try as filename without quotation marks?:

"c:\program files\microsoft office\office12\winproj.exe" filename.mpp
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.