cd

Make a CD run once

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 regis...

Creating multi-platform CDs for software distribution

This is not strictly programming related, but I hope still relevant. I'm working on a project which is written in Java and intended for use on PCs and Macs. It will be distributed on CD (and perhaps DVD, eventually). Our intended audience is decidedly non-technical and, as such, it's important the CD "just work" when it's loaded. Thi...

Simple, manual-start user instructions in case Windows CD fails to autostart

Our CD autostarts, but occasionally customers have that disabled (by a CD burner, etc.). As a backup, we include instructions on the back of our CD (below). I'm trying to find better instructions, for Windows XP and above. (Ideally for Windows 98 and above) CURRENT If it does not auto-start: Repeat instructions (above) once. If that ...

CD Ripping in Delphi

Is there any example how to rip audio cd in delphi? ...

Accessing CD/DVD drive for backup from Adobe AIR application

Hi, Is it possible to burn a CD/DVD from an Adobe AIR app? How? I want my application to take some backup on the CD/DVD. Any other options? ...

How do I programmatically create a bootable CD?

I'm using a barebones tutorial as the basis for an OS I'm working on, and it seems to be an older tutorial: it has be compiling the kernel down to a floppy image, and then loading it with GRUB. Basically, I still want to use GRUB, but I'd like to have my OS run from a CD instead. The main reason is that I don't actually have a real flop...

How can I make a USB flash drive appear/not appear as a CD drive?

I recently was given a small USB flash drive as an advertising gimmick. When I plug it in, only one drive appears: a CD drive with 42kb used (just an autorun.inf file which launches the manufacturer's website). I know U3 drives also appear as CD drives, but their uninstall utility only works for their own drives. How can I make it appea...

cd doesn't work when redirecting output?

Here's a puzzler: can anyone explain why cd fails when the output is redirected to a pipe? E.g.: james@machine:~$ cd /tmp # fine, no problem james@machine:~$ cd /tmp | grep 'foo' # doesn't work james@machine:~$ cd /tmp | tee -a output.log # doesn't work james@machine:~$ cd /tmp >out.log ...

How to open a zip file in a CD from silverlight control in Silverlight 2.0 Application?

We have a silverlight application from which we are trying to open a zip file which is placed in a CD.Can any one tell how to open .zip files from local path of CD from SilverLight control. Thanks & regards, Sheetal ...

Where can I find the code CD for my Kindle Edition of PHP and MySQL Web Development, 4th Ed?

I just bought PHP and MySQL Web Development 4th Edition by Welling and Thompson. The book uses examples from the CD-ROM, which appears to not come with the Kindle Edition. Is there any way to download, legally or questionably, the CD that contains the code samples? I'm finding the book really useful, but don't want to manually type in al...

How do I have an icon displayed when a setup CD is autoplayed in Windows.

I have a setup CD to install a visual studio C++ application I made. It has three files: setup.exe, AUTORUN.INF, and app.msi. When I insert the CD the Windows AutoPlay popup shows a generic icon. How do I have my own icon displayed for setup.exe. I also want this for the drive icon after I insert the CD, I think they're related. ...

How do I specify a publisher for the setup.exe when a setup CD is autoplayed in Windows.

I have a setup CD to install a visual studio C++ application I made. The AutoPlay popup shows "Publisher not specified" for running setup.exe. How do I specify a publisher? ...

Identifying CDs

I'd like to be able to determine what music album CD is in a CD drive. For example, if someone claims that the CD in their drive is Eminem - The Eminem Show, I would like to be able to verify that the CD is indeed The Eminem Show. Any ideas? I've applied for a Gracenote developer license, but they won't get back to me for five days. Al...

Distributing loadable builtin bash modules

I've written a built-in for bash which modifies the 'cd' command, a requirement for my software. Is there a way to actually distribute a loadable independently of bash itself? I'd ideally like to distribute just a drop in "additional feature" because I know people can be put off by patching and compiling their shell from source code. ...

How to make an html page open automatically on a CD/DVD

I need to include an html page (table of contents) on a CD/DVD. I'd like the html page to open automatically when the user puts the CD/DVD in their machine. Is there a way to do this (the MSDN cds do this) either by purchasing software or otherwise? ...

A bash one-liner to change into the directory where some file is located.

I often want to change to the directory where a particular executable is located. So I'd like something like cd `which python` to change into the directory where the python command is installed. However, this is obviously illegal, since cd takes a directory, not a file. There is obviously some regexp-foo I could do to strip off the...

Database to distribute on CD

What is a good way to distribute a small database on CD-ROM? The Database has to be encrypted. It must run on WinXP and Vista. The application is written in C# and is also distributed on CD. Records are only read but not written. Its ok to run an installer, but we prefer not to do it. The DB has 100000 records and performance is not t...

What code libraries are there to rip audio CDs that are suitable for commerical use?

What code libraries are there to rip audio CDs (e.g. DAE, Digital Audio Extraction)? Must be suitable for commerical use (e.g., no GPL) Preferably free. Linux or FreeBSD or Windows. Most interested in libraries that run on unix-like OS's, especially FreeBSD. ...

How to burn an Audio CD programmatically in Mac OS X

All the info I can find about burning cd's is for Windows, or about full programs to burn cd's. I would however like to be able to burn an Audio CD directly from within my program. I don't mind using Cocoa or Carbon, or if there are no API's available to do this directly, using a command-line program that can use a wav/aiff file as inpu...

Change Current Directory in Windows command environment

Seems it's not easy, I don't want to create a bat call an exe to do that. Is there a method to create a windows exe, that can change the current directory when it exit. ...