in reply to Re^3: Prevent windows dialog when using file test -e
in thread Prevent windows dialog when using file test -e

Yes but Mode 0x8000 didn't disable the "Drive not ready" on my machine. Is there a Mode that only disable this Dialog ?
  • Comment on Re^4: Prevent windows dialog when using file test -e

Replies are listed 'Best First'.
Re^5: Prevent windows dialog when using file test -e
by ikegami (Patriarch) on Jun 22, 2006 at 22:10 UTC
    Earlier, you said 8 didn't work. You hadn't said anything about 0x8000. I didn't know if it would work, which is why I suggested you use it if it works.
      Yes, first I tried 8, then 0x8000, then 0xFFFF and finally I've come to 0x0001. The last is the one I use currently cause it disables the Dialog (0xFFFF does too). I dont know if there is any other possibility (Mode) to do this, but a dialog poping up three times for each file tested with -e on a path that points to a empty CD-Rom is really annoying.