|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
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
| |||
| |||
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
| |||
| |||
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
| |||
| |||
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
| |||
| |||
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
| |||
| |||
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 |
![]() |
|
Tags: autoruninf, filename, fullscreen, parameter, pass, wmplayer |
Thread Tools | Search this Thread |
|
![]() | ||||
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 02: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 07:15 PM |
autorun.inf - shell\..\command with command line parameter doesn'twork | kakii | Windows XP Support | 1 | 18-05-2007 01:24 AM |