Windows XP Community - XPHeads



Autorun.inf

microsoft.public.windowsxp.general


Reply
  #1 (permalink)  
Old 07-08-2008, 05:52 PM
Earl Partridge
 
Posts: n/a
Autorun.inf
I have created a movie file (.WMV) on a CD and added an autorun.inf file as with this line:
[AutoRun]
open=robins.wmv
When double clicking that drive letter I get error:
D:\ is not a valid Win32 application
Opening the drive, double click the .wmv file, it runs fine with WMP.
Why won't autorun.info work?
Earl


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-08-2008, 08:14 PM
AlmostBob
 
Posts: n/a
Re: Autorun.inf
autorun.inf runs a program, not a random file name
to run a video you need to launch a player to play the video.
the player you chose may not be present on the target system so it is best
to include a no-install player and have autorun call that to play the file
VLC portable is such a player
http://portableapps.com/apps/music_video/vlc_portable


--
Adaware http://www.lavasoft.de
spybot http://www.safer-networking.org
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/n...aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use

Grateful thanks to the authors and webmasters
_

"Earl Partridge" <earlpNG@pearnet.com> wrote in message
news:usPHNMS4IHA.784@TK2MSFTNGP04.phx.gbl...
I have created a movie file (.WMV) on a CD and added an autorun.inf file as
with this line:
[AutoRun]
open=robins.wmv
When double clicking that drive letter I get error:
D:\ is not a valid Win32 application
Opening the drive, double click the .wmv file, it runs fine with WMP.
Why won't autorun.info work?
Earl



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-08-2008, 09:05 PM
Earl Partridge
 
Posts: n/a
Re: Autorun.inf
So, assuming those that will receive the CD have Windows Media Player, would
the .inf file show:
[AutoRun]
open=wmplayer.exe robins.wmv

Or do I need a back or forward slash between the executable and the .wmv
file?
Earl




"AlmostBob" <anonymous1@microsoft.com> wrote in message
news:%23J3zucT4IHA.3500@TK2MSFTNGP05.phx.gbl...
> autorun.inf runs a program, not a random file name
> to run a video you need to launch a player to play the video.
> the player you chose may not be present on the target system so it is best
> to include a no-install player and have autorun call that to play the file
> VLC portable is such a player
> http://portableapps.com/apps/music_video/vlc_portable
>
>
> --
> Adaware http://www.lavasoft.de
> spybot http://www.safer-networking.org
> AVG free antivirus http://www.grisoft.com
> Etrust/Vet/CA.online Antivirus scan
> http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
> Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
> Catalog of removal tools (1)
> http://www.pandasoftware.com/download/utilities/
> Catalog of removal tools (2)
> http://www3.ca.com/securityadvisor/n...aspx?CID=40387
> Blocking Unwanted Parasites with a Hosts file
> http://mvps.org/winhelp2002/hosts.htm
> links provided as a courtesy, read all instructions on the pages before
> use
>
> Grateful thanks to the authors and webmasters
> _
>
> "Earl Partridge" <earlpNG@pearnet.com> wrote in message
> news:usPHNMS4IHA.784@TK2MSFTNGP04.phx.gbl...
> I have created a movie file (.WMV) on a CD and added an autorun.inf file
> as with this line:
> [AutoRun]
> open=robins.wmv
> When double clicking that drive letter I get error:
> D:\ is not a valid Win32 application
> Opening the drive, double click the .wmv file, it runs fine with WMP.
> Why won't autorun.info work?
> Earl
>
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-09-2008, 12:37 AM
AlmostBob
 
Posts: n/a
Re: Autorun.inf
I'm not sure how to code wmplayer to open the file, I always include vlc
player, so got lazy
another way to allow good compatibility without including a player or
assuming windows media is installed
use autorun.exe, which can be downloaded from Tarma Software Research.
http://www.tarma.com/index.htm#/download/index.htm
Tarma has made autorun.exe freely available for both personal and commercial
use and there are no requirements for copyright notices, etc.
It will open any filetype with the default player installed on the receiving
system. and has good error catching

open=autorun.exe robins.wmv
open=vlc.exe robins.wmv

both work
fingers crossed for wmplayer.exe robins.wmv





--
Adaware http://www.lavasoft.de
spybot http://www.safer-networking.org
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/n...aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use

Grateful thanks to the authors and webmasters
_

"Earl Partridge" <earlpNG@pearnet.com> wrote in message
news:OynyX4T4IHA.4488@TK2MSFTNGP03.phx.gbl...
> So, assuming those that will receive the CD have Windows Media Player,
> would
> the .inf file show:
> [AutoRun]
> open=wmplayer.exe robins.wmv
>
> Or do I need a back or forward slash between the executable and the .wmv
> file?
> Earl
>
>
>
>
> "AlmostBob" <anonymous1@microsoft.com> wrote in message
> news:%23J3zucT4IHA.3500@TK2MSFTNGP05.phx.gbl...
>> autorun.inf runs a program, not a random file name
>> to run a video you need to launch a player to play the video.
>> the player you chose may not be present on the target system so it is
>> best to include a no-install player and have autorun call that to play
>> the file
>> VLC portable is such a player
>> http://portableapps.com/apps/music_video/vlc_portable
>>
>>
>> --
>> Adaware http://www.lavasoft.de
>> spybot http://www.safer-networking.org
>> AVG free antivirus http://www.grisoft.com
>> Etrust/Vet/CA.online Antivirus scan
>> http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
>> Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
>> Catalog of removal tools (1)
>> http://www.pandasoftware.com/download/utilities/
>> Catalog of removal tools (2)
>> http://www3.ca.com/securityadvisor/n...aspx?CID=40387
>> Blocking Unwanted Parasites with a Hosts file
>> http://mvps.org/winhelp2002/hosts.htm
>> links provided as a courtesy, read all instructions on the pages before
>> use
>>
>> Grateful thanks to the authors and webmasters
>> _
>>
>> "Earl Partridge" <earlpNG@pearnet.com> wrote in message
>> news:usPHNMS4IHA.784@TK2MSFTNGP04.phx.gbl...
>> I have created a movie file (.WMV) on a CD and added an autorun.inf file
>> as with this line:
>> [AutoRun]
>> open=robins.wmv
>> When double clicking that drive letter I get error:
>> D:\ is not a valid Win32 application
>> Opening the drive, double click the .wmv file, it runs fine with WMP.
>> Why won't autorun.info work?
>> Earl
>>
>>
>>

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-09-2008, 12:06 PM
michael
 
Posts: n/a
Re: Autorun.inf
Earl Partridge wrote:
> I have created a movie file (.WMV) on a CD and added an autorun.inf file
> as with this line:
> [AutoRun]
> open=robins.wmv
> When double clicking that drive letter I get error:
> D:\ is not a valid Win32 application
> Opening the drive, double click the .wmv file, it runs fine with WMP.
> Why won't autorun.info work?
> Earl
>
>


[autorun]
start=robins.wmv
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:13 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74