Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make a CD run once [closed]

We're doing an "Amazing Race" kind of event, and thought it would be cool to have CDs that could only play once... like a "this message will self destruct in 5 seconds..."

Any thoughts on how to do this? I was thinking it could be a compiled HTML website that would write a cookie and only play once. I don't want to write to the registry (don't want to depend on windows, don't want to install anything, etc).

I also don't care if it's hackable... This is a one-time fun event, and I don't really care too much if people could remove the cookie or something.

Any other ideas?

like image 838
Nathan DeWitt Avatar asked Sep 03 '08 18:09

Nathan DeWitt


People also ask

How do I make a CD start automatically?

To configure AutoPlay in Windows Vista or 7, open Start menu by clicking Start button or pressing Windows Key on your keyboard. Type "autoplay" in Search box and click Autoplay. In Windows 8, open Settings search using keyboard shortcut Windows Key+W, type "autoplay" in Search box and click AutoPlay.

How do I start a CD that won't run automatically?

a. Open AutoPlay by clicking the Start button, clicking Control Panel, clicking Hardware and Sound, and then clicking AutoPlay. b. Choose an action each time you plug in a device or insert a disc.

Can you reuse CD after burning?

Hi, The CD-R, originally named CD Write-Once, you can only burn once. If you want to burn the CD and then erase the CD and re-burn it again. I would suggest you to buy CD-RW (I.e. CD Re-Writable disk) You can find it any computer retailer's shops.


1 Answers

If the content is HTML and run inside a normal browser window, then a cookie may work but there are caveats:

  • User runs the CD once when IE is the default browser. User runs at a later time, when Firefox is the default browser so cookie cannot be checked.
  • The browser's security settings may be locked down to prevent use of script so the cookie cannot be set (more of an IE problem).

An alternative might be Flash's equivalent of cookies, but if script was locked down then the same may be true for Flash.

like image 112
Brian Lyttle Avatar answered Oct 16 '22 17:10

Brian Lyttle