Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Using command-line switches with playlist files
Article ID: 176678 - View products that this article applies to.
This article was previously published under Q176678
Playlist files are text files (with an .LST file name extension) that contain a list of PowerPoint presentations. These files allow the PowerPoint viewer to play multiple slide shows in order. This article describes the commmand-line switches that you can use within a playlist file.
NOTE: Microsoft PowerPoint Viewer 97 also supports command-line switches when started from the Run dialog box, or from a Microsoft Windows 95 shortcut link file.
Command lines should use the following format
where <path\powerpnt file name> is the path and file name for the presentation you want to include in the playlist.
ppview32.exe [command-line switches] "<path\powerpnt file name>"
The following command-line switches are supported:
NOTE: The /v switch does not enable the use of macros, it simply enables a special dialog box to be displayed when opening other documents that might have macros enabled, such as a Word document.
Switch Used for ------------------------------------------------------------------- /A or /a Automatic advance /R=n-m or /r=n-m Slide range (where n<=m) /L or /l Loop continuously /P or /p Print, for printing file /K or /k Kiosk password, for setting a kiosk mode for file /V or /v For showing the macro virus dialog box
Playlist files used with the Microsoft PowerPoint Viewer 97 do not recognize switches when opened at the command line. However, you can use command-line switches within the playlist file using the format below.
To apply a switch to individual files, use the following format:
The following example loops a presentation until ESC is pressed, and then moves to the next presentation and loops it:
[switch] <path\filename> [switch] <path\filename> ... [switch] <path\filename>
To apply a switch across a group of files, use the following format:
/L PRES1.PPT /L PRES2.PPT ... /L PRESx.PPT
The following example plays each presentation once, and then begins again after the last presentation has completed:
[switch] "<path\filename>" "<path\filename>" ... "<path\filename>"
Not all command-line switches are available within playlist files. The following switches are supported within .LST files: /A, /R=N-M, /L, /K, and /V.
/L "PRES1.PPT" "PRES2.PPT" ... "PRESx.PPT"
For more information about playlists, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/171681/ )How to create a playlist that loops continuously
Article ID: 176678 - Last Review: March 31, 2006 - Revision: 1.1