Jump to content

Opening a ppt from a .bat file?


Recommended Posts

Have you tried starting PowerPoint from within the bat file, with the /C command line switch? See http://office.microsoft.com/en-us/powerpoi...1538891033.aspx

My problem is that I need to open it in different computers, with different configurations and powerpnt.exe is not usually in the path of the users. Any ideas?

Link to comment
Share on other sites

I think if Office is correctly installed, you won't need the full path, as it is already in the standard %PATH% environment variable. Just use POWERPNT.EXE (I just tested it; it opens PowerPoint):

powerpnt.exe /C "My Documents\docname.ppt"

It doesn't work on my computer but don't worry I already solved it. I didn't remember I can open any file from the command line (.bat) just by typing its name. I feel stupid

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy