Discussion:
Need Help with Command-Line switches
(too old to reply)
Kendall
2004-01-23 17:17:44 UTC
Permalink
Hello,

I'm trying to create an entry in the registry that will play a short
video in full screen once.
I've placed the following entry in:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]

"C:\Program Files\Windows Media Player\wmplayer.exe" /fullscreen /play
/close c:\shortclip.wmv

This will play the video, but not in full screen and media player will
not close once the video has finished.
It also will start to play while the welcome screen is still up, so
you miss the first 5 seconds of the video.
I'm pretty sure there is a way to do this, because on a fresh install
of windows, the short little clip of the windows xp logo coming
together (intro.wmv) is displayed before you go through the
registration process.

These are the only command line switches I know about. Are there any
others?

/play
/close
/fullscreen
/embedding run as an OLE server <---- what is this????


Thanks,
Kendall
zachd [ms]
2004-01-25 07:52:03 UTC
Permalink
http://www.nwlink.com/~zachd/pss/pss.html#commandline
covers the options that I'm aware of. Fullscreen isn't one. :(

-Zach
--
(speaking for myself and doing this in my free time)
See http://www.nwlink.com/~zachd/pss/pss.html for some helpful WMP info.
Following up to your post with the resolution is good netiquette.
This posting is provided "AS IS" with no warranties, and confers no rights.
All e-mail to this account will bounce or be deleted - *use the newsgroups*.
--
Post by Kendall
Hello,
I'm trying to create an entry in the registry that will play a short
video in full screen once.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"C:\Program Files\Windows Media Player\wmplayer.exe" /fullscreen /play
/close c:\shortclip.wmv
This will play the video, but not in full screen and media player will
not close once the video has finished.
It also will start to play while the welcome screen is still up, so
you miss the first 5 seconds of the video.
I'm pretty sure there is a way to do this, because on a fresh install
of windows, the short little clip of the windows xp logo coming
together (intro.wmv) is displayed before you go through the
registration process.
These are the only command line switches I know about. Are there any
others?
/play
/close
/fullscreen
/embedding run as an OLE server <---- what is this????
Thanks,
Kendall
Loading...