Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.