autorun.inf to pass wmplayer,filename, AND /fullscreen parameter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I made a great slideshow using MS photostory 3, output file type 'wmv';
It should normally play on wmplayer.exe on most XP machines.
The following line will run perfectly on my pc from the START, RUN spot:

wmplayer "C:\Documents and Settings\MyPC\My Documents\My
Videos\PhotoStory1_best_trip.wmv" /fullscreen

I want to distribute copies of the CD to people with XP machines and
have an autorun.inf file on the CD to automatically start the 'wmv' slideshow
fullscreen.

The autorun.inf I came up with looks like this:

[autorun]
shellexecute="PhotoStory1_best_trip.wmv /fullscreen"

This launches Windows Media Player and the correct file on the CD, but
does not kick in the full screen option.

I have tried different OPEN, SHELLEXECUTE, and even batch file
combinations and cannot get the autorun.inf to function like the RUN
command.

I do not want the end users to have to fumble with or bother with figuring
out how to set the player to fullscreen (while they are also missing the first
minute of the slideshow.)

Any solutions should be for the standard XP SP2 load and should be known
to work for exactly what I am talking about. Thanks :)
 
Sorry, same result, file launchs okay in media player but not fullscreen.

zachd said:
Does
shellexecute="Photstory1_best_trip.wmv" /fullscreen
work...?

--
(speaking for myself and doing this in my free time)
See http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--

TallDude said:
I made a great slideshow using MS photostory 3, output file type 'wmv';
It should normally play on wmplayer.exe on most XP machines.
The following line will run perfectly on my pc from the START, RUN spot:

wmplayer "C:\Documents and Settings\MyPC\My Documents\My
Videos\PhotoStory1_best_trip.wmv" /fullscreen

I want to distribute copies of the CD to people with XP machines and
have an autorun.inf file on the CD to automatically start the 'wmv'
slideshow
fullscreen.

The autorun.inf I came up with looks like this:

[autorun]
shellexecute="PhotoStory1_best_trip.wmv /fullscreen"

This launches Windows Media Player and the correct file on the CD, but
does not kick in the full screen option.

I have tried different OPEN, SHELLEXECUTE, and even batch file
combinations and cannot get the autorun.inf to function like the RUN
command.

I do not want the end users to have to fumble with or bother with figuring
out how to set the player to fullscreen (while they are also missing the
first
minute of the slideshow.)

Any solutions should be for the standard XP SP2 load and should be known
to work for exactly what I am talking about. Thanks :)
 
[autorun]
open=starter.bat
-------------------------------------------------------------
STARTER.BAT
subst z: \
start wmplayer /fullscreen z:\Photstory1_best_trip.wmv
exit
------------------------------------------------------------
Even though the file will be on the current drive, in the root
path; The only syntax that will work is to add a drive letter to
the statement. Using the old DOS SUBST will make whatever the
drive letter of someones CD drive, be drive Z.
There should be an easier way ...... : )
 
thank you very much for sharing your valuable result with everyone. we have
got the same problem with you so it has helped us so much.
 
Back
Top