MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Detecting CD driver availability

> By the way, I do not know how to eject a CD programmatically from
> Mathematica. Such a command does not seem to be present

On my PCs, under Windows XP, this works:

   Run["nircmd.exe cdrom close d:"]
   Run["nircmd.exe cdrom open  d:"]

NirCmd is a freeware utility you can get from


  • Prev by Date: Re: Importing data with comma as decimal separator
  • Next by Date: Re: Default Lighting Colors and Positions
  • Previous by thread: Re: Detecting CD driver availability
  • Next by thread: Cycling through windows with a keyboard shortcut