• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 817
  • Last Modified:

vbscript

I need a vbscript to run a power point SHOW. It is not a slide show(.ppt). It is in  .pps format and the location is in C:\test.pps

Thanks,
Paul
0
pauledwardian
Asked:
pauledwardian
  • 2
  • 2
2 Solutions
 
sweepsCommented:
Dim wsh
Set wsh = CreateObject("Wscript.Shell")
wsh.Run "powerpnt /s C:\test.ppt"  
0
 
AmickCommented:
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "cmd /c .\documents\test.ppsx"
0
 
sweepsCommented:
OOps..  put ppt instead of pps .  sorry.  
0
 
AmickCommented:
The above was set up against my testing environment,  I should have edited it to match your request as follows:
set WshShell = WScript.CreateObject("WScript.Shell") 
WshShell.Run "cmd /c  C:\test.pps" 

Open in new window


One could also use a regular batch file containing the single line:
c:\test.pps

Open in new window

0
 
pauledwardianAuthor Commented:
good comments
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now