Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



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

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-02-2006
TallDude
 
Posts: n/a
autorun.inf to pass wmplayer,filename, AND /fullscreen parameter

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 :)


Reply With Quote
  #2  
Old 09-02-2006
zachd [ms]
 
Posts: n/a
Re: autorun.inf to pass wmplayer,filename, AND /fullscreen parameter


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" <TallDude@discussions.microsoft.com> wrote in message
news:60EC429C-E983-4188-85DB-D8C9962D297E@microsoft.com...
>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 :)
>



Reply With Quote
  #3  
Old 09-02-2006
TallDude
 
Posts: n/a
Re: autorun.inf to pass wmplayer,filename, AND /fullscreen paramet

Sorry, same result, file launchs okay in media player but not fullscreen.

"zachd [ms]" wrote:

>
> 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" <TallDude@discussions.microsoft.com> wrote in message
> news:60EC429C-E983-4188-85DB-D8C9962D297E@microsoft.com...
> >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 :)
> >

>
>
>

Reply With Quote
  #4  
Old 10-02-2006
TallDude
 
Posts: n/a
I think I found the solution

[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 ...... : )
Reply With Quote
  #5  
Old 11-04-2006
zazorpator
 
Posts: n/a
RE: autorun.inf to pass wmplayer,filename, AND /fullscreen parameter

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.

"TallDude" wrote:

> 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 :)
>

Reply With Quote
  #6  
Old 11-04-2006
philinglis@typhoonsoftware.com
 
Posts: n/a
Re: autorun.inf to pass wmplayer,filename, AND /fullscreen parameter

Try using AutoRun: http://www.typhoonsoftware.com/download.htm

You can open video playlists and set to fullscreen as well as a lot of
other options,

Phil

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "autorun.inf to pass wmplayer,filename, AND /fullscreen parameter"
Thread Thread Starter Forum Replies Last Post
Network Diagram - Configure to show Forward Pass/Backward Pass m3lyssa Microsoft Project 9 30-08-2010 04:57 PM
What does it mean: Cannot Copy <Filename>: The Parameter Is Incorrect Renderman21 Portable Devices 3 13-11-2009 01:59 PM
Pass an array as parameter via URL param Cadallic Technology & Internet 3 25-07-2009 12:15 PM
What is difference between pass by value & pass by reference in java? Baran Software Development 4 25-02-2009 06:15 PM
autorun.inf - shell\..\command with command line parameter doesn'twork kakii Windows XP Support 1 18-05-2007 01:24 AM


All times are GMT +5.5. The time now is 01:41 AM.