Skip to content

Instantly share code, notes, and snippets.

@tarilabs
Created May 10, 2012 18:19
Show Gist options
  • Save tarilabs/2654859 to your computer and use it in GitHub Desktop.
Save tarilabs/2654859 to your computer and use it in GitHub Desktop.
Open PowerPoint file directly in SlideShow mode, cycle between SlideShows for the PowerPoint files found in the directory; useful for kiosks/totems information display (reminder: Advanced settings in PowerPoint, disable "End with black slide")
@echo off
REM this batch to be placed in the same directory as the PowerPoint files
REM this batch requires for powerpnt.exe to be in the PATH Environment variables
echo @ECHO OFF > loop.bat
for %%A in (*.ppt*) DO echo powerpnt.exe /s "%%A" >> loop.bat
echo loop.bat >> loop.bat
loop.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment