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

MathGroup Archive 2009

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

Search the Archive

Re: Detecting CD driver availability

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98035] Re: Detecting CD driver availability
  • From: Ignacio Plazeta <Ignacio.Plazeta at speednet.es>
  • Date: Sat, 28 Mar 2009 05:44:35 -0500 (EST)
  • References: <gqfkqc$kkk$1@smc.vnet.net> <gqia7j$om1$1@smc.vnet.net>

Hi !

Unfortunately, it dosn't work. Here what happens on a PC
running Windows XP Pro SP2 and Mathematica 7.0.0.

We start having a void CD driver:

   DirectoryQ["d:\\"]
   True (why ??)

   SetDirectory["d:\\"]
   SetDirectory::cdir: Cannot set current directory to d:\. >>
   $Failed

Now I put a DVD into driver:

   SetDirectory["d:\\"]
   d:\
   ResetDirectory[]
   C:\Docs

The DVD is now removed so I get

   SetDirectory["d:\\"]
   SetDirectory::cdir: Cannot set current directory to d:\. >>
   $Failed

and also the Abort, Retry, Cancel dialogs pops up; please note
that during the first test it didn't. What I need is managing the
absence of optical media without the human intervention on the dialogue box.

Best regards.
Ignacio


  • Prev by Date: Re: Solve problem
  • Next by Date: Re: finding all definitions matching a pattern
  • Previous by thread: Re: Detecting CD driver availability
  • Next by thread: Re: Detecting CD driver availability