Make an autorun cd show a web document on autoplay…



There’s a utility called Thumbs that looks like a good quick way to make a cd launch a web documented on autoplay in Windows 95/98/ME/NT/2000/XP/ …Of course, autoplay under windows is fairly easy to setup. If you have a program on the disk you can just have autorun.inf in the root directory of the cd and in that you can specify WHAT program to autorun. The problem with html documents on a disk is telling the computer how to run it. (Yes you can adjust the icon as well.)


I vaguely remember doing this once before, but the problems I ran into were that you had to assume that you knew the drive letter of the cd drive (D: is not always a correct assumption.) Anyway, THUMBS looks like a good, easy solution. The advantage (of course) with a html page auto-launched is that we can do most anything… (list of photos/thumbnails – a link to browse the disk, links to external websites, resume, etc….) Of course, in this context could we think of autoplay as a security risk? I would think so… I can think of a few ways someone could carefully use this feature to their advantage (of course someone would have to put the cd in…)

Also, it’s worth noting the above is Windows only autorun. I’ve not looked into ways of doing this on a Mac.

However, there is another way to approach this…. From this site, we have a nice overview of enabling/disabling autorun (in general) as well as doing cds with an autorun.inf…
First is the classic example:

[autorun]
open=setup.exe
icon=snazzie.ico

The article goes on to explain…

Until recently, it was not possible for Windows to AutoRun a file rather than a program.
OK, that’s not strictly true: you could use the following AUTORUN.INF to show web page index.htm

[autorun]
open=start index.htm

However, if you do this, Windows displays a DOS box briefly, which looks nasty. (And start might not be available on some systems.)

If you are only targeting recent Windows systems, then you can use the shellexecute command to open a file without a flickering DOS box:

[autorun]
shellexecute=index.htm

further….

ShellRun overcomes the above problems. It shows your file and displays a neat popup window. The popup appears straight away so that the user knows that something is happening. ShellRun works in all Windows systems.

This example AUTORUN.INF tells ShellRun to show web page index.htm while displaying message “Starting CD now…” in the ShellRun popup window.

[autorun]
open=ShellRun.exe index.htm Starting CD now…

Do not forget to put ShellRun.exe in the root directory of your CD along with AUTORUN.INF

They are referring to ShellRun.exe which is part of a free download from this site.

The bottom line though, we can’t “force” a cd to autoplay, it may be disabled for a variety of reasons, the user may have a “limited user” account, etc…. for those reasons there should be instructions on accessing the desired first file on the disc as well.

Related Posts

Blog Traffic Exchange Related Posts
  • Disinfecting a PC… part 4 So, AVG has been scanning away finding things we've really got a foothold on the system and the malware has a fight on it's hands. It's good to see progress. Up to this point we've had multiple Spool32 errors (printer related). These errors are what prompted the system to be......
  • More on the Windows WMF zero-day exploit There seems to be quite a bit developing on the Windows Meta File (WMF) zero-day (0-day) exploit which was first reported yesterday. Sans has raised their alert level to yellow in an effort to get attention to this problem. It looks like the original site serving the exploit is down,......
  • Network Security guide for the home or small business network - Part 4 - Know your software Ok, so you've got a hardware firewall and you've got antivirus. You're safe right? Well, not entirely. I've mentioned the flaws of antivirus. It's always a step behind. A firewall doesn't protect against unknown viruses, so what else is there to do? I'm going to tackle this in two steps.......
Blog Traffic Exchange Related Websites
  • Window Glazing Repairs If you're not ready to sink money into replacement windows but your windows are drafty and in poor shape, you can make simple window glazing repairs yourself. Also known as reglazing, this is simply the removal of the old glazing (the putty around the panes of glass) and application of......
  • Encryption: Never Leave Home Without It As portable drives have gotten physically smaller and larger in storage capacity, they've become an indespensible gadget for many.  If you use yours to store vital and sensitive information, you need to secure that information with encryption.  I should not need to tell you about the long list of......
  • Why Cloud Computing Is Safer Than Anything Else: Welcome Windows 8 We have another guest article from Web Profits today. Enjoy! Windows 8 is a huge change in the way we will use our computers compared to the past. We were introduced to personal computing by Windows many years ago. The idea was that we would use our computer and application,......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site