Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Detecting CD driver availability

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97932] Detecting CD driver availability
  • From: Ignacio Plazeta <Ignacio.Plazeta at speednet.es>
  • Date: Thu, 26 Mar 2009 05:19:49 -0500 (EST)

   Dear Friends

I want Mathematica check the DVD presence into the CD-ROM driver and 
execute myFunction[] when it become available, so I try something like

   SetDirectory[NotebookDirectory[]];
   Off[SetDirectory::"cdir"];
    Print["Start"];
     While[SetDirectory["d:\\"] == $Failed, Pause[1]];
    Print["Stop"];

but it's an unsuccessful trick, because it makes the Retry, Abort, 
Continue message box rise, invoking the user's act, just exactly what I 
want to avoid. Any way out?

Thanks you all for the gentle and skillful answers I always get.

Best regards.
Ignacio Plazeta


  • Prev by Date: coefficients but not from polynomial (variables does not work)
  • Next by Date: Re: Installation question
  • Previous by thread: Re: coefficients but not from polynomial (variables does not work)
  • Next by thread: Re: Detecting CD driver availability