Results 1 to 6 of 6

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

  1. #1
    TallDude Guest

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


  2. #2
    zachd [ms] Guest

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




  3. #3
    TallDude Guest

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

    >
    >
    >


  4. #4
    TallDude Guest

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

  5. #5
    zazorpator Guest

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


  6. #6
    philinglis@typhoonsoftware.com Guest

    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


Similar Threads

  1. Replies: 9
    Last Post: 30-08-2010, 04:57 PM
  2. Replies: 3
    Last Post: 13-11-2009, 02:59 PM
  3. Pass an array as parameter via URL param
    By Cadallic in forum Technology & Internet
    Replies: 3
    Last Post: 25-07-2009, 12:15 PM
  4. Replies: 4
    Last Post: 25-02-2009, 07:15 PM
  5. Replies: 1
    Last Post: 18-05-2007, 01:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,655,739.44074 seconds with 17 queries